import { AriaAttributes, FC, HTMLAttributes, MouseEventHandler } from 'react'; import { CommonToastProps } from '../../hooks'; export interface ToastProps extends CommonToastProps, HTMLAttributes { /** * If provided, toast will have a close button. */ onClose?: MouseEventHandler; /** * Provide alongside `onClose` for localized accessibility. * @default "Close" */ closeLabel?: AriaAttributes['aria-label']; /** @default "status" */ role?: HTMLAttributes['role']; /** @default "polite" */ 'aria-live'?: AriaAttributes['aria-live']; /** @default true */ 'aria-atomic'?: AriaAttributes['aria-atomic']; } export declare const Toast: FC;