import React, { SVGAttributes } from 'react'; declare enum AlertEnum { success = 0, danger = 1, warning = 2, info = 3, neutral = 4 } export interface AlertProps extends React.HTMLAttributes { /** * The type of the alert */ type?: keyof typeof AlertEnum; /** * If defined, shows the close icon that calls this function */ onClose?: () => void; } declare type IconProps = SVGAttributes; export declare const InfoIcon: React.FC; export declare const WarningIcon: React.FC; export declare const DangerIcon: React.FC; export declare const SuccessIcon: React.FC; export declare const NeutralIcon: React.FC; declare const Alert: React.ForwardRefExoticComponent>; export default Alert; //# sourceMappingURL=Alert.d.ts.map