/**
 * Copyright (c) Adaptavist, Inc.
 */
import { ComponentPropsWithoutRef, MouseEventHandler } from 'react';
import { GenericProps, ControlProps } from '../../utilities';
import { Icons } from '../../atoms/icon/types';
export type IAlert = ComponentPropsWithoutRef<'div'> & GenericProps & ControlProps & {
    /**
     * Prop for setting what Icon should be displayed to close the Alert Molecule.
     *
     * Default is `Xmark`.
     */
    closeIcon?: Icons;
    /**
     * Prop to control the height of the Alert.
     *
     * Default is `auto`.
     */
    height?: string;
    /**
     * Prop for setting if the Alert can be closed or not.
     *
     * If set to true, the Alert can be closed.
     * If set to false, the Alert cannot be closed.
     *
     * Default is `true`.
     */
    isClosable?: boolean;
    /**
     * Prop to control what happens when the Alert Molecule is Clicked.
     *
     * Default is `an empty object`.
     */
    onClick?: MouseEventHandler<HTMLDivElement>;
    /**
     * Prop for setting which set of styles the Alert should use.
     *
     * Default is `default`.
     */
    type: 'default' | 'success' | 'warning' | 'critical';
};
