import React from 'react'; export type ToastVariant = 'info' | 'success' | 'warning' | 'error'; export type ToastPlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; export type ToastAction = { label: string; onClick: () => void; }; export type ToastOptions = { id?: string; title?: string; description: string; variant?: ToastVariant; duration?: number; action?: ToastAction; }; export type ToastProviderProps = { children: React.ReactNode; placement?: ToastPlacement; limit?: number; className?: string; style?: React.CSSProperties; }; type ToastContextValue = { toast: (options: ToastOptions) => string; dismiss: (id: string) => void; dismissAll: () => void; }; export declare function ToastProvider({ children, placement, limit, className, style, }: Readonly): React.JSX.Element; export declare function useToast(): ToastContextValue; export {}; //# sourceMappingURL=index.d.ts.map