import * as React from 'react'; export type ToastVariant = 'default' | 'info' | 'success' | 'warning' | 'error'; export type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'; export interface Toast { id: string; title?: string; description?: string; variant?: ToastVariant; duration?: number; onClose?: () => void; } interface ToastContextValue { toasts: Toast[]; addToast: (toast: Omit) => string; removeToast: (id: string) => void; updateToast: (id: string, toast: Partial) => void; } export interface ToastProviderProps { children: React.ReactNode; /** Position of toast container */ position?: ToastPosition; /** Maximum number of toasts to show */ maxToasts?: number; } export declare function ToastProvider({ children, position, maxToasts, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useToast(): ToastContextValue; export declare function toast(options: Omit): Omit; export declare namespace toast { var success: (title: string, description?: string, options?: Partial>) => { title: string; description: string | undefined; variant: ToastVariant; onClose?: () => void; duration?: number; }; var error: (title: string, description?: string, options?: Partial>) => { title: string; description: string | undefined; variant: ToastVariant; onClose?: () => void; duration?: number; }; var warning: (title: string, description?: string, options?: Partial>) => { title: string; description: string | undefined; variant: ToastVariant; onClose?: () => void; duration?: number; }; var info: (title: string, description?: string, options?: Partial>) => { title: string; description: string | undefined; variant: ToastVariant; onClose?: () => void; duration?: number; }; } export {}; //# sourceMappingURL=Toast.d.ts.map