import { ReactNode } from 'react';
import { MessageSeverity } from '../../types/MessageSeverity';
import * as ToastPrimitive from '@radix-ui/react-toast';
export type ToastSeverity = MessageSeverity;
export type ToastProps = {
    open: boolean;
    severity: ToastSeverity;
    title: ReactNode;
    description?: ReactNode;
    onClose?: () => void;
    action?: ToastPrimitive.ToastActionProps;
    /**
     * @default 5000
     * Overrides the default duration given to ToastProvider.
     */
    duration?: number;
};
export declare function Toast({ open, severity, title, description, onClose, action, duration }: ToastProps): import("react").JSX.Element;
export interface ToastProviderProps extends ToastPrimitive.ToastProviderProps {
    /**
     * @default "left"
     */
    swipeDirection?: ToastPrimitive.ToastProviderProps['swipeDirection'];
    /**
     * @default 5000
     */
    duration?: number;
}
export declare function ToastProvider({ swipeDirection, duration, ...rest }: ToastProviderProps): import("react").JSX.Element;
export type ToastViewportProps = ToastPrimitive.ToastViewportProps;
export declare function ToastViewport(props: ToastViewportProps): import("react").JSX.Element;
//# sourceMappingURL=Toast.d.ts.map