import { ToasterProps as BaseToasterProps, ToastEventType } from './internal/Toaster'; /** * Props for the Toaster component * @property {number | false} [duration] - Timeout, in ms, before toasts auto-closes. If set to false, toasts will not auto-close * @property {string} id - Unique toaster id * @property {(toastEvent: ToastEventType) => void} [onToastEvent] - Callback function that is called when toasts are added, updated, or dismissed * @property {string} [focusKey] - How a screen-reader will announce the hotkey used to set focus on the first toast * @property {number} [toastsBeforeStack] - How many toasts to display before they start stacking * @extends Omit */ export type ToasterProps = Omit; /** * Toaster component for managing and displaying toast notifications with anvil2-specific features. * * Features: * - Manages multiple toast notifications in a stack * - Handles toast positioning and stacking behavior * - Supports custom events for toast management * - Automatic toast dismissal with configurable duration * - Keyboard navigation and accessibility support * - Dialog-aware positioning for modal contexts * - Session storage for dialog toaster state * - Custom event system for toast lifecycle management * - Responsive design with mobile support * - Automatic tracking ID generation for analytics * - Monolith toaster integration and coordination * - Shadow DOM support for micro-frontend environments * - A1 toast group compatibility and positioning * * @example * console.log('Toast event:', event)} * /> * * @example * */ export declare const Toaster: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref"> & Omit & { disableEvents?: boolean; id: string; onToastEvent?: (toastEvent: ToastEventType) => void; } & import('react').RefAttributes>;