import { ModalProps } from 'antd/lib/modal';
import { FormInstance } from 'antd/lib/form/hooks/useForm';
export interface IModalProps extends Omit<ModalProps, 'onOk' | 'footer'> {
    children?: React.ReactNode;
    triggerDom?: JSX.Element;
    form?: FormInstance;
    render?: (onCancel: (e?: any) => void, onOk: (e?: any) => Promise<unknown> | void) => React.ReactNode;
    onOk?: (e?: any) => Promise<unknown> | void;
    beforeShow?: () => boolean | Promise<any> | void;
    footer?: React.ReactNode | ((onCancel: Function, onOk: (e?: any) => Promise<unknown> | void) => React.ReactNode);
}
