/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import * as React from 'react';
import * as PropTypes from 'prop-types';
export interface AlertModalProps {
    className?: string;
    style?: React.CSSProperties;
    title?: string;
    type?: 'info' | 'success' | 'error' | 'warning';
    content: React.ReactNode;
    onConfirm?: () => void;
    visible: boolean;
    confirmText?: string;
    onHide?: () => void;
}
declare class AlertModal extends React.PureComponent<AlertModalProps, any> {
    static propTypes: {
        className: PropTypes.Requireable<string>;
        style: PropTypes.Requireable<object>;
        title: PropTypes.Requireable<string>;
        type: PropTypes.Requireable<string>;
        content: PropTypes.Validator<PropTypes.ReactNodeLike>;
        onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
        visible: PropTypes.Validator<boolean>;
        confirmText: PropTypes.Requireable<string>;
        onHide: PropTypes.Requireable<(...args: any[]) => any>;
    };
    static defaultProps: {
        type: string;
    };
    private btnIns;
    constructor(props: AlertModalProps);
    componentDidUpdate(preProps: AlertModalProps): void;
    componentDidMount(): void;
    private autoFocusOnBtn;
    private onConfirmHandler;
    render(): JSX.Element;
}
export default AlertModal;
