/// <reference types="react" />
export interface ToastProps {
    message: string;
    dismissible?: boolean;
    icon?: boolean;
    lifespan?: number;
    variant?: 'branded' | 'success' | 'error' | 'warning' | 'neutral';
}
export interface ToastDefinition extends ToastProps {
    id: number;
}
export interface ToastContext {
    createToast: (options: ToastProps) => number;
    removeToast: (id: number) => void;
}
export declare const ToastContext: import("react").Context<ToastContext>;
export declare function useToast(): ToastContext;
//# sourceMappingURL=useToast.d.ts.map