import { ComponentPropsWithoutRef } from 'react'; import { ToastProps } from './Toast'; /** * Props for the ToastStack component * @extends ComponentPropsWithoutRef<"div"> */ export type ToastStackProps = Omit, "children"> & { /** * Duration of the toast in milliseconds. If set to `false`, the toast will not auto-dismiss. * If `actions` are provided in the toast method, this prop will be ignored and treated as `false`. * @default false */ duration?: number | false; /** * How a screen-reader will announce the hotkey used to set focus on the first toast. * @default "t" */ focusKey?: string; /** * How many toasts to display before they start stacking. * @default 3 */ toastsBeforeStack?: number; /** * The toasts to display in the stack. * @default [] */ toasts: ToastProps[]; }; /** * ToastStack component for displaying a stack of toast notifications. * * Features: * - Displays multiple toasts in a vertical stack * - Automatic stacking behavior when toast count exceeds limit * - Show more button to expand stacked toasts * - Keyboard navigation with hotkey support * - Hover pause functionality for toast timers * - Smooth animations and transitions * - Accessibility features with screen reader support * - Responsive design with mobile touch support * - Focus management for keyboard users * * @example * * * @example * */ export declare const ToastStack: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref">, "children"> & { /** * Duration of the toast in milliseconds. If set to `false`, the toast will not auto-dismiss. * If `actions` are provided in the toast method, this prop will be ignored and treated as `false`. * @default false */ duration?: number | false; /** * How a screen-reader will announce the hotkey used to set focus on the first toast. * @default "t" */ focusKey?: string; /** * How many toasts to display before they start stacking. * @default 3 */ toastsBeforeStack?: number; /** * The toasts to display in the stack. * @default [] */ toasts: ToastProps[]; } & import('react').RefAttributes>;