import { PushTokenEventDetail } from '../shared/native/types'; import { PushNotificationsLoader, PushOptions } from './types'; export declare const PUSH_TOKEN_EVENT = "burdenoff:pushToken"; /** * Publish a push token to the rest of the app: `window.__burdenoffPushToken` * (so a consumer mounting later can replay it — the OS `registration` callback * fires during boot, before React exists) plus the `burdenoff:pushToken` event. * * Shared with `web-push.ts` so a browser subscription and a native token reach * `installPushDeviceRegistration()` through exactly one code path. */ export declare function emitPushToken(value: string, platform: PushTokenEventDetail['platform']): void; /** * Install push listeners (registration → dispatch `burdenoff:pushToken` + set * `window.__burdenoffPushToken`; notification tap → deep-link navigator). * Does NOT prompt for permission — call `requestPushPermission()` for that. */ export declare function installPushNotifications(loader: PushNotificationsLoader, options?: Pick): Promise; /** * Ask the user for push permission (call from an in-context UI affordance, * never at boot) and register for a token on grant. */ export declare function requestPushPermission(): Promise; //# sourceMappingURL=push.d.ts.map