import React from "react";
interface ToastProps {
    message: string;
    variant?: "success" | "info";
    duration?: number;
    onClose?: () => void;
    className?: string;
}
export declare const Toast: React.FC<ToastProps>;
export default Toast;
type ToastVariant = "success" | "error" | "info";
export type ToastOptions = {
    id?: string;
    message: string;
    variant?: ToastVariant;
    durationMs?: number;
};
type ToastContextValue = {
    pushToast: (options: ToastOptions) => string;
    closeToast: (id: string) => void;
};
export declare function useToast(): ToastContextValue;
export declare function ToastProvider({ children }: {
    children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=index.d.ts.map