import type { ReactNode } from "react"; import { UNSTABLE_ToastQueue as ToastQueue } from "react-aria-components"; export declare const ToastProvider: ({ children, toastRegionClassName, }: { children: ReactNode; toastRegionClassName?: string; }) => import("react/jsx-runtime").JSX.Element; export declare const useToast: () => { error: (title: ReactNode, description?: ReactNode, { timeout, ...opts }?: Parameters["add"]>[1] | undefined) => string | undefined; queue: ToastQueue | undefined; success: (title: ReactNode, description?: ReactNode, { timeout, ...opts }?: Parameters["add"]>[1] | undefined) => string | undefined; }; type ToastContents = { type: ToastType; title: ReactNode; description?: ReactNode; }; declare enum ToastType { Success = 0, Error = 1 } export {};