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<BaseToasterProps, "disableEvents">
 */
export type ToasterProps = Omit<BaseToasterProps, "disableEvents">;
/**
 * 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
 * <Toaster
 *   id="main-toaster"
 *   duration={5000}
 *   toastsBeforeStack={3}
 *   onToastEvent={(event) => console.log('Toast event:', event)}
 * />
 *
 * @example
 * <Toaster
 *   id="dialog-toaster"
 *   disableEvents={false}
 *   focusKey="t"
 * />
 */
export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('./internal/ToastStack').ToastStackProps, "toasts"> & {
    disableEvents?: boolean;
    id: string;
    onToastEvent?: (toastEvent: ToastEventType) => void;
} & import('react').RefAttributes<HTMLDivElement>>;
