import * as React from "react";
import { VariantProps } from "class-variance-authority";
//#region src/Toast.d.ts
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;
} & import("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>;
//#endregion
export { ToastOptions, ToastProvider, ToastTone, ToastVariantProps, useToast };