import { SemanticColor } from '../types';
export interface ToastItem {
    id: string;
    message: string;
    color?: SemanticColor;
    duration?: number;
    action?: React.ReactNode;
    timestamp: number;
}
type ToastAction = {
    type: 'ADD';
    toast: ToastItem;
} | {
    type: 'DISMISS';
    id: string;
} | {
    type: 'DISMISS_ALL';
};
export interface ToastContextValue {
    dispatch: React.Dispatch<ToastAction>;
}
export declare const ToastContext: import('react').Context<ToastContextValue | null>;
export interface ToastProviderProps {
    children: React.ReactNode;
    maxVisible?: number;
    position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
}
declare function ToastProvider({ children, maxVisible, position, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
declare namespace ToastProvider {
    var displayName: string;
}
export default ToastProvider;
