import { ReactNode } from 'react';
import { DialogBaseProps } from '../dialog/DialogBase';
import { ButtonProps } from '../button/Button';
import { GenericComponent } from '../../@types/types';
declare type Action = Omit<ButtonProps, 'fullWidth' | 'marginTop'>;
declare type Type = 'confirm' | 'destructive' | 'error';
interface AlertProps extends Omit<DialogBaseProps, 'scrollable' | 'size'> {
    /** Object containing the props of the primary action (a Button, with level prop set to 'primary'). */
    primaryAction: Action;
    /** Object containing the the props of the secondary action (a Button). */
    secondaryAction?: Action;
    /** The title of the alert. */
    title: ReactNode;
    /** The body of the alert. */
    body?: string;
    /** The type of the alert. */
    type?: Type;
}
declare const Alert: GenericComponent<AlertProps>;
export default Alert;
