import { type JSX } from 'react'; import type { CommonProps, StringLikeChildren } from '../types.js'; export interface AlertProps extends CommonProps { /** The title of the alert. */ title?: string; /** The content of the alert. */ children: StringLikeChildren; /** The tone of the alert. */ tone: 'info' | 'success' | 'warning' | 'critical'; /** * Whether the alert can be dismissed by the user. * @default false */ isDismissible?: boolean; /** Callback function to be called when the dismiss button is pressed. Makes the alert controlled. */ onDismiss?: () => void; } /** * Displays an inline message banner in response to a user action. * * See [alert usage guidelines](https://ui.cimpress.io/components/alert/). */ declare const _Alert: (props: AlertProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => JSX.Element | null; export { _Alert as Alert }; //# sourceMappingURL=alert.d.ts.map