export default Notice;
declare class Notice extends React.Component<any, any, any> {
    static propTypes: {
        /** @ignore */
        className: PropTypes.Requireable<string>;
        /** 是否显示关闭按钮 */
        closable: PropTypes.Requireable<boolean>;
        /** 自定义前置icon，可传入Icon type或者自定义Icon，传入null、false隐藏，默认显示感叹号icon */
        icon: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
        /** @ignore */
        children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
        /** 关闭的回调 */
        onClose: PropTypes.Requireable<(...args: any[]) => any>;
        /** 样式类型 */
        styleType: PropTypes.Requireable<string>;
        /** 自定义操作 */
        action: PropTypes.Requireable<PropTypes.ReactNodeLike>;
    };
    static defaultProps: {
        closable: boolean;
        styleType: string;
        onClose: () => void;
    };
    constructor(props: any);
    constructor(props: any, context: any);
    state: {
        closed: boolean;
    };
    onClose: (e: any) => void;
    componentWillMount(): void;
    getIconType: () => "cross-circle-filled" | "tick-circle-filled" | "exclamation-circle-filled" | "info-circle-filled" | "high-warning";
    render(): React.JSX.Element | null;
}
declare namespace Notice {
    export { StyleType };
}
import React from "react";
import PropTypes from "prop-types";
declare const StyleType: string[];
