import * as class_variance_authority_types from 'class-variance-authority/types'; import * as React from 'react'; import { FunctionComponent, ReactNode } from 'react'; import * as ToastPrimitives from '@radix-ui/react-toast'; import { VariantProps } from 'class-variance-authority'; type ToastEvent = { variant: "success" | "message" | "info" | "warning" | "error" | null | undefined; title: ReactNode; description?: ReactNode; }; declare const ToastProvider: React.FC; interface ToastViewportProps extends React.ComponentPropsWithoutRef { } declare const ToastViewport: React.ForwardRefExoticComponent>; interface ToastRootProps extends React.ComponentPropsWithoutRef, VariantProps { variant: "message" | "success" | "info" | "warning" | "error"; } declare const toast_cva: (props?: class_variance_authority_types.ClassProp | undefined) => string; declare const ToastRoot: React.ForwardRefExoticComponent>; declare const ToastClose: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const ToastTitle: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const ToastDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AutoToast: FunctionComponent>; export { AutoToast, ToastClose, ToastDescription, type ToastEvent, ToastProvider, ToastRoot, ToastTitle, ToastViewport };