/** * Notification context — provides a `push()` helper that surfaces * toast-style notifications via `react-native-toast-message`. * * Mount `` somewhere above the components that * consume `useNotificationContext()`. The `` component itself * must be rendered separately in the app root (see * `react-native-toast-message` docs). * * The vault notification provider also bridged a WebSocket service into * this context to dispatch server-pushed toasts; that piece is * app-specific and not included here. Consumers that need it can build * a thin wrapper around this provider. */ import React from "react"; export type NotificationLevel = "success" | "error" | "warning" | "info"; export interface ToastOptions { level: NotificationLevel; title: string; message?: string; /** Milliseconds before auto-dismiss. Defaults to 4000. */ ttl_ms?: number; } interface NotificationContextValue { push: (options: ToastOptions) => void; } export declare function NotificationProvider({ children }: { children: React.ReactNode; }): React.JSX.Element; export declare function useNotificationContext(): NotificationContextValue; export {}; //# sourceMappingURL=NotificationContext.d.ts.map