///
import { DefaultAttributes } from '../../types';
export declare type ToastVariants = 'neutral' | 'info' | 'positive' | 'warning' | 'error';
export declare type ToastActionType = 'confirm' | 'acknowledge';
export declare type ToastAction = {
text: string;
onClick: () => void;
};
export declare type ToastBaseProps = DefaultAttributes & {
message: string;
id?: string;
className?: string;
variant?: ToastVariants;
icon?: React.ReactNode;
};
export declare type ToastConfirmProps = ToastBaseProps & {
action: 'confirm';
primaryAction: ToastAction;
};
export declare type ToastAcknowledgeProps = ToastBaseProps & {
action: 'acknowledge';
dismissAction: ToastAction;
primaryAction: ToastAction;
};
export declare type ToastProps = ToastConfirmProps | ToastAcknowledgeProps;
export declare type ToastCompactProps = Omit & Partial>;
export declare type ToastStyleProps = Pick;