/**
 * Daily Notification Plugin for Capacitor
 * @module DailyNotification
 */

import { registerPlugin } from '@capacitor/core';
import type { DailyNotificationPlugin } from './definitions';
import { observability, EVENT_CODES } from './observability';

const DailyNotification = registerPlugin<DailyNotificationPlugin>('DailyNotification');

// Initialize observability
observability.logEvent('INFO', EVENT_CODES.FETCH_START, 'Daily Notification Plugin initialized');

export * from './definitions';
export * from './types/content-fetcher'; // Export SPI types
export * from './observability';
export * from './timesafari-integration';
export * from './timesafari-storage-adapter';
export * from './timesafari-community-integration';
export * from './android/timesafari-android-config';
export * from './ios/timesafari-ios-config';
export * from './services/DailyNotificationService';
export * from './services/DatabaseIntegrationService';
export * from './utils/PlatformServiceMixin';
// Core types are available via './core' export path
// (Not re-exported here to avoid conflicts with existing definitions)
export { DailyNotification };
