import * as React from 'react';
import { ObjectInterface } from '../_utils/interfaces';
import { EmotionProps } from './Emotion';
export interface ConfirmProps extends Omit<EmotionProps, 'extra' | 'emotion' | 'onOk'> {
    /** 当前值 */
    value?: string;
    /** 校验规则 */
    valueValidator?: (value: string) => string;
    /** 错误信息 */
    errorMessage?: string;
    /** ok 按钮 加载样式 */
    okLoading?: boolean;
    /** 内容样式 */
    contentStyle?: ObjectInterface;
    /** 确认按钮回调 */
    onOk?: (e: React.SyntheticEvent, val?: string, setLoading?: (loading: boolean) => void) => void;
}
declare const Confirm: React.FC<ConfirmProps>;
export default Confirm;
declare const ConfirmMemo: React.NamedExoticComponent<ConfirmProps>;
export { ConfirmMemo };
