import { Client } from "magicbell-js/user-client"; /** * Check if service workers and push notifications are supported in this browser */ export declare function isSupported(): boolean; type Props = { client: Client; serviceWorkerPath?: string; }; type Context = { error?: string; registration: ServiceWorkerRegistration | null; tokenId?: string; }; export declare function createWebPushMachine({ client, serviceWorkerPath }: Props): import("robot3").Machine<{ init: import("robot3").MachineState; requestInstall: import("robot3").MachineState; unsupported: import("robot3").MachineState; registerServiceWorker: import("robot3").MachineState; checkTokens: import("robot3").MachineState; idle: import("robot3").MachineState<"start">; startInstall: import("robot3").MachineState; saveToken: import("robot3").MachineState; removeToken: import("robot3").MachineState; error: import("robot3").MachineState<"start">; active: import("robot3").MachineState<"discard">; }, Context, import("robot3").AllStateKeys<{ init: import("robot3").MachineState; requestInstall: import("robot3").MachineState; unsupported: import("robot3").MachineState; registerServiceWorker: import("robot3").MachineState; checkTokens: import("robot3").MachineState; idle: import("robot3").MachineState<"start">; startInstall: import("robot3").MachineState; saveToken: import("robot3").MachineState; removeToken: import("robot3").MachineState; error: import("robot3").MachineState<"start">; active: import("robot3").MachineState<"discard">; }>, string>; export {};