import { ReactNode } from '../../../node_modules/react'; import { ToastOffset, ToastOrigin, ToastTransition } from './types'; export interface ToastProviderProps { children: ReactNode; /** Maximum toasts visible at once. @default 3 */ maxToasts?: number; /** Default screen anchor for all toasts. @default { vertical: 'bottom', horizontal: 'right' } */ anchorOrigin?: ToastOrigin; /** Default transition for all toasts. @default 'slide' */ transition?: ToastTransition; /** Default auto-hide duration in ms. @default 5000 */ autoHideDuration?: number | null; /** Denser spacing (useful on mobile). @default false */ dense?: boolean; /** * Distance of the toast container from the viewport edges, letting you * position the widget relative to its anchor. A number/string is applied to * the anchored vertical edge (e.g. `offset={300}` with a bottom anchor lifts * toasts to 300px above the bottom). Pass an object to control each edge * independently (e.g. `{ bottom: 300, right: 24 }`). */ offset?: number | string | ToastOffset; } export declare function ToastProvider({ children, maxToasts, anchorOrigin, transition, autoHideDuration, dense, offset, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element; export declare namespace ToastProvider { var displayName: string; }