import { ElementType, ReactNode } from 'react'; import { ButtonProps } from '../Button/Button'; import { ButtonIconCondensedProps } from '../ButtonIconCondensed/ButtonIconCondensed'; declare const ToastColor: { readonly caution: "caution"; readonly destroy: "destroy"; readonly info: "info"; readonly success: "success"; }; type Color = (typeof ToastColor)[keyof typeof ToastColor]; type Action = ButtonProps & { label: string; 'data-testid'?: string; children?: never; }; type CloseAction = ButtonIconCondensedProps & { accessibilityLabel: string; 'data-testid'?: string; iconName?: never; }; export type ToastProps = { action?: Action; closeAction: CloseAction; color?: Color; iconName?: string; message: ReactNode; title?: string; testId?: string; }; /** - Keep your language brief and action-oriented. Use sentence case. If your `message` is more than 2-3 lines, rewrite it. - If it helps the content to be understood faster, include an optional `title` prop. Use title case. - The `action` prop renders a button at the end of the toast. This is typically used for an "Undo" action, but can be used for any action you want to give the user a quick option to take. */ export declare function Toast({ action, closeAction, color, iconName, message, title, testId, }: ToastProps): import("react/jsx-runtime").JSX.Element; export default Toast;