import { FunctionComponent, ReactNode } from 'react'; declare type Message = { title?: ReactNode; message?: ReactNode; details?: ReactNode; }; declare type Notifications = { success: (message: string | Message) => void; info: (message: string | Message) => void; warning: (message: string | Message) => void; error: (message: string | Message) => void; }; export declare const NotificationProvider: FunctionComponent<{ children: ReactNode; }>; export declare const useNotifications: () => Notifications; export {};