import { ReactNode } from 'react';
export interface ModalButtonProps<T> {
    children?: ReactNode;
    /** 传给renderModal中的数据 */
    record?: T;
    /** 禁用children中的按钮时,也要给ModalButton禁用 */
    disabled?: boolean;
    /**  modal*/
    renderModal(onCancel: () => void, show: boolean, record?: T): ReactNode;
}
declare const ModalButton: <T>(props: ModalButtonProps<T>) => JSX.Element;
export default ModalButton;
