import * as React from 'react'; import type { ToastContextValue, ToastProps } from './types.js'; export declare const ToastImplProvider: React.FC, useToastContext: (consumerName: string) => ToastContextValue; /** * A single toast notification with `data-state`, self-closing after `duration` (paused on hover/focus/page-hidden) and dismissible via swipe or Escape. * * @example * ```tsx * !open && dismiss(id)}> * Saved * Your changes have been saved. * Undo * ✕ * * ``` */ export declare const Toast: { ({ open: openProp, defaultOpen, onOpenChange, duration: durationProp, forceMount, onOpenChangeComplete, onEscapeKeyDown, onPause, onResume, type, ref: forwardedRef, ...props }: ToastProps): React.ReactNode; displayName: string; };