import { default as React, ReactNode } from 'react'; import { ElementElevation, ElementShape, SurfaceColor, ToastStatus } from '../../utils'; import { BoxBaseProps } from '../base'; import { ElementAnimation } from '../../types'; /** * Props for Toast component. * * @category Toast */ export interface ToastProps extends Omit { /** Toast identifier used for lifecycle control. */ id: string; /** Primary heading text. */ title?: string; /** Secondary supporting text. */ description?: string; /** Surface color token overriding default background and text. */ color?: SurfaceColor; /** Leading visual element. */ icon?: ReactNode; /** Action element rendered below content. */ action?: ReactNode; /** Full content override replacing internal layout. */ content?: ReactNode; /** Time in milliseconds before the toast is automatically dismissed. */ timeout?: number; /** Elevation token. Default: 3 */ elevation?: ElementElevation; /** Status variant applied as CSS modifier class. */ status?: ToastStatus; /** Shape token. Default: smooth */ shape?: ElementShape; /** Motion value (`MotionAnimation` or full motion config). */ animation?: ElementAnimation; leaving?: boolean; onExitComplete?: (id: string) => void; } /** * Toast notification container. * * Handles auto-dismiss lifecycle using the timeout property. * * @function * @param props Component properties. * * @category Toast */ export declare const Toast: React.ForwardRefExoticComponent>;