import { n as MessageOptions, t as Message } from "../../types-CbJroQxH.mjs"; import { a as CustomFetchOptions } from "../../index-Dx8EhTxo.mjs"; import { Dispatch, ReactNode, SetStateAction } from "react"; //#region src/components/notification/NotificationsProvider.d.ts interface Props { children: ReactNode; } declare function NotificationsProvider({ children }: Props): import("react").JSX.Element; //#endregion //#region src/components/notification/NotificationsContext.d.ts declare function createNotificationsManager(setNotifications: Dispatch>): { addNotification: (content?: string, { expiration, color, canClose, withLoader }?: MessageOptions) => string; removeNotification: (id: string) => void; notifyError: (err: unknown) => void; }; declare const NotificationsContext: import("react").Context<{ addNotification: (content?: string, { expiration, color, canClose, withLoader }?: MessageOptions) => string; removeNotification: (id: string) => void; notifyError: (err: unknown) => void; }>; //#endregion //#region src/components/notification/useContextNotifications.d.ts declare const useContextNotifications: () => { addNotification: (content?: string, { expiration, color, canClose, withLoader }?: MessageOptions) => string; removeNotification: (id: string) => void; notifyError: (err: unknown) => void; }; //#endregion //#region src/components/notification/useFetch.d.ts declare const useFetch: () => (urlObjOrString: string | URL, enhancedOptions?: CustomFetchOptions) => Promise; //#endregion export { NotificationsContext, NotificationsProvider, createNotificationsManager, useContextNotifications, useFetch }; //# sourceMappingURL=index.d.mts.map