import React from 'react'; export interface SonnerToastProps { id: string | number; message?: React.ReactNode; title?: React.ReactNode; icon?: React.ReactNode; action?: React.ReactNode; dismiss?: () => void; duration?: number; type?: 'default' | 'success' | 'info' | 'warning' | 'error' | 'loading'; } export declare const SonnerToast: ({ id, message, title, icon, action, dismiss, duration, type }: SonnerToastProps) => import("react/jsx-runtime").JSX.Element; export interface SonnerProps { position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'; className?: string; toasts?: SonnerToastProps[]; onDismiss?: (id: string | number) => void; } export declare const Sonner: React.ForwardRefExoticComponent>; export declare const useSonner: () => { toast: (props: Omit) => string; success: (message: string | React.ReactNode, options?: Partial) => string; error: (message: string | React.ReactNode, options?: Partial) => string; info: (message: string | React.ReactNode, options?: Partial) => string; warning: (message: string | React.ReactNode, options?: Partial) => string; loading: (message: string | React.ReactNode, options?: Partial) => string; dismiss: (id: string | number) => void; toasts: SonnerToastProps[]; setToasts: React.Dispatch>; }; export default Sonner; //# sourceMappingURL=sonner.d.ts.map