import type { Ref } from '@stacksjs/stx'; /** * Reactive Web Notification API. */ export declare function useWebNotification(options?: UseWebNotificationOptions): UseWebNotificationReturn; export declare interface UseWebNotificationOptions { title?: string body?: string icon?: string dir?: NotificationDirection lang?: string tag?: string requireInteraction?: boolean } export declare interface UseWebNotificationReturn { isSupported: Ref notification: Ref permissionGranted: Ref show: (overrideOptions?: UseWebNotificationOptions) => Promise close: () => void onClick: Ref<((_evt: Event) => void) | null> onShow: Ref<((_evt: Event) => void) | null> onError: Ref<((_evt: Event) => void) | null> onClose: Ref<((_evt: Event) => void) | null> }