/** * Web Notifications API wrapper. * Provides a simplified interface for browser notifications. */ /** * Notification options matching the standard NotificationOptions interface. */ export interface NotificationOptions { /** Body text of the notification */ body?: string; /** Icon URL for the notification */ icon?: string; /** Badge icon for mobile devices */ badge?: string; /** Tag for grouping notifications */ tag?: string; /** Whether to require user interaction */ requireInteraction?: boolean; /** Vibration pattern for mobile devices */ vibrate?: number[]; /** Additional data attached to the notification */ data?: unknown; } /** * Notifications manager providing a clean interface for web notifications. */ export declare const notifications: { /** * Check if notifications are supported. * @returns True if Notification API is available */ isSupported(): boolean; /** * Get current permission status. * @returns Current permission state */ getPermission(): NotificationPermission; /** * Request notification permission from the user. * @returns Promise resolving to the permission result */ requestPermission(): Promise; /** * Send a notification. * Requires 'granted' permission. * @param title - Notification title * @param options - Optional notification settings * @returns The Notification instance or null if not permitted */ send(title: string, options?: NotificationOptions): Notification | null; }; //# sourceMappingURL=notifications.d.ts.map