UNPKG

blast-client

Version:

blast client

24 lines (16 loc) 806 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { BlastClientOptions, BlastClientType as BlastClient, DialogProps } from './types.js'; declare function BlastProvider({ children }: { children: ReactNode; }): react_jsx_runtime.JSX.Element; declare const useUserId: () => string; declare function usePushNotificationListener(): void; declare function useBlast(options: BlastClientOptions): { client: BlastClient | null; status: "error" | "idle" | "initializing" | "ready"; error: Error | null; }; declare function Dialog({ dialogs, addGets }: DialogProps): react_jsx_runtime.JSX.Element; declare function Alert(): react_jsx_runtime.JSX.Element; export { Alert, BlastProvider, Dialog, useBlast, usePushNotificationListener, useUserId };