import * as React from 'react'; import { AlertBaseProps, AlertVariant } from '../AlertBase'; export interface ToastProps extends AlertBaseProps { /** * @children required */ children: React.ReactNode | undefined; /** * CSS properties for the alert component within the toast container */ alertStyle?: React.CSSProperties; /** * CSS properties for the component container */ containerStyle?: React.CSSProperties; /** * If true, the component will persist until dismissed by the user * @default false */ disableAutoDismiss?: boolean; /** * The variant of the toast, indicating its function in the UI * @default AlertVariant.info */ variant?: AlertVariant; /** * Number of milliseconds the toast displays before it closes * @default 5000 */ toastDuration?: number; /** * Action that fires when the close button is clicked (required when dismissible is true) */ onDismiss: () => void; /** * Action that fires when the mouse enters the component */ onMouseEnter?: (event: React.SyntheticEvent) => void; /** * Action that fires when the mouse leaves the component */ onMouseLeave?: (event: React.SyntheticEvent) => void; } export declare const Toast: React.ForwardRefExoticComponent>;