import type { HTMLAttributes } from 'react';
export type ToastVariant = 'default' | 'success' | 'warn' | 'danger' | 'info';
export interface ToastProps extends HTMLAttributes {
readonly message: string;
readonly variant?: ToastVariant;
readonly onDismiss?: () => void;
readonly dismissLabel?: string;
readonly testId?: string;
/**
* Controlled presence (default true). When false, applies EXITED motion classes;
* keep the node mounted until the parent removes it after `OVERLAY_EXIT_MS`.
*/
readonly open?: boolean;
/** Force EXITED motion state (host-owned exit hold; alternative to `open={false}`). */
readonly exiting?: boolean;
}
/**
* CMP-0011 Toast (= Snackbar) — presentational item; host owns queue/viewport.
* Live region: polite for success/info/default; assertive for danger/warn.
* Short enter/exit via motion tokens; motion-reduce disables transition.
* Toast does not self-unmount on exit — parent removes after `OVERLAY_EXIT_MS`.
*/
export declare function Toast({ message, variant, onDismiss, dismissLabel, className, testId, open, exiting, ...rest }: ToastProps): JSX.Element;
//# sourceMappingURL=Toast.d.ts.map