import * as class_variance_authority_types from 'class-variance-authority/types';
import * as React from 'react';
import { VariantProps } from 'class-variance-authority';

interface ToastOptions {
    title: string;
    description?: string;
    tone?: 'neutral' | 'success' | 'warning' | 'danger';
    durationMs?: number;
}
interface ToastContextValue {
    toast: (options: ToastOptions) => void;
    dismiss: (id?: string) => void;
}
declare const toastVariants: (props?: ({
    tone?: "danger" | "neutral" | "success" | "warning" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;
declare function ToastProvider({ children }: {
    children: React.ReactNode;
}): React.JSX.Element;
declare function useToast(): ToastContextValue;
type ToastTone = NonNullable<ToastOptions['tone']>;
type ToastVariantProps = VariantProps<typeof toastVariants>;

export { type ToastOptions, ToastProvider, type ToastTone, type ToastVariantProps, useToast };
