import { Accessor } from "solid-js"; import { NotificationConfig } from "./notification.types"; export interface NotificationsProviderContextValue { /** * All currently displayed notifications. */ notifications: Accessor; /** * All pending notifications. */ queue: Accessor; /** * Show a notification. */ showNotification(config: NotificationConfig): string; /** * Update a notification for a given `id`. */ updateNotification(id: string, config: NotificationConfig): void; /** * Hide a notification. */ hideNotification(id: string): void; /** * Remove all notifications. * (displayed and from the queue) */ clear(): void; /** * Remove all pending notifications for the queue only. */ clearQueue(): void; } export declare const NotificationsProviderContext: import("solid-js").Context; export declare function useNotificationsProviderContext(): NotificationsProviderContextValue; //# sourceMappingURL=notifications-provider.context.d.ts.map