import { SemanticColor } from '../types';
interface ToastOptions {
    message: string;
    color?: SemanticColor;
    duration?: number;
    action?: React.ReactNode;
}
interface ToastFn {
    (options: ToastOptions): void;
    success: (message: string) => void;
    error: (message: string) => void;
    warning: (message: string) => void;
    info: (message: string) => void;
}
export interface UseToastReturn {
    toast: ToastFn;
    dismiss: (id: string) => void;
    dismissAll: () => void;
}
export declare function useToast(): UseToastReturn;
export {};
