import { IModalProps } from './modal'; declare type ModalConfirmType = 'warning' | 'error' | 'confirm'; export declare type ModalFunc = (props: IModalProps) => void; export declare type ModalStaticFunctions = Record, ModalFunc>; export default function confirm({ getContainer, visible, ...restProps }: IModalProps): void; export declare function withWarning(props: IModalProps): IModalProps; export declare function withError(props: IModalProps): IModalProps; export declare function withConfirm(props: IModalProps): IModalProps; export {};