import { type ToastT } from "sonner";
export type ToastProps = ToastT & {
    variant?: "default" | "destructive";
};
export declare function useToast(): {
    toast: ({ variant, ...props }: ToastProps) => string | number | undefined;
    dismiss: (toastId?: string) => string | number;
    error: (message: string, props?: Omit<ToastProps, "variant">) => string | number;
    success: (message: string, props?: Omit<ToastProps, "variant">) => string | number;
    warning: (message: string, props?: Omit<ToastProps, "variant">) => string | number;
    info: (message: string, props?: Omit<ToastProps, "variant">) => string | number;
};
