import type { ConfigUpdate, ModalFuncProps } from './interface';
declare function confirm(config: ModalFuncProps): {
    destroy: (this: any, ...args: any[]) => void;
    update: (configUpdate: ConfigUpdate) => void;
};
export declare function withWarn(props: ModalFuncProps): ModalFuncProps;
export declare function withInfo(props: ModalFuncProps): ModalFuncProps;
export declare function withSuccess(props: ModalFuncProps): ModalFuncProps;
export declare function withError(props: ModalFuncProps): ModalFuncProps;
export declare function withConfirm(props: ModalFuncProps): ModalFuncProps;
export default confirm;
