/** * Environment Type Declarations * * @author Matthew Raymer * @version 1.0.0 */ /// declare module '*.vue' { import type { DefineComponent } from 'vue' const component: DefineComponent<{}, {}, any> export default component } // Capacitor plugin declarations declare global { interface Window { DailyNotification: { scheduleDailyNotification: (options: { time: string title?: string body?: string sound?: boolean priority?: string url?: string }) => Promise scheduleDailyReminder: (options: { id: string title: string body: string time: string sound?: boolean vibration?: boolean priority?: string repeatDaily?: boolean timezone?: string }) => Promise cancelDailyReminder: (options: { reminderId: string }) => Promise updateDailyReminder: (options: { reminderId: string title?: string body?: string time?: string sound?: boolean vibration?: boolean priority?: string repeatDaily?: boolean timezone?: string }) => Promise getLastNotification: () => Promise<{ id: string title: string body: string scheduledTime: number deliveredAt: number }> checkStatus: () => Promise<{ canScheduleNow: boolean postNotificationsGranted: boolean channelEnabled: boolean channelImportance: number channelId: string exactAlarmsGranted: boolean exactAlarmsSupported: boolean androidVersion: number nextScheduledAt: number }> checkChannelStatus: () => Promise<{ enabled: boolean importance: number id: string }> openChannelSettings: () => Promise openExactAlarmSettings: () => Promise } } } export {}