/**
 * Daily Notification Capacitor Plugin
 * Provides native notification functionality for iOS and Android
 *
 * @see https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin
 */

import { registerPlugin } from "@capacitor/core";

/**
 * Type definitions for the Daily Notification Plugin
 * Re-exported from the plugin package
 */
export type {
  DailyNotificationPlugin,
  DailyReminderOptions,
  DailyReminderInfo,
  PermissionStatusResult,
  NotificationStatus,
} from "@timesafari/daily-notification-plugin";

// Import the plugin type
import type { DailyNotificationPlugin as DailyNotificationPluginType } from "@timesafari/daily-notification-plugin";

/**
 * Register the Daily Notification plugin
 * This plugin is only available on native platforms (iOS/Android)
 * No web implementation - use Web Push for web/PWA builds
 */
const DailyNotification = registerPlugin<DailyNotificationPluginType>(
  "DailyNotification",
  {
    // No web implementation - native platforms only
    // Web builds will use the existing Web Push system
  },
);

export { DailyNotification };
