import { DialogProps } from 'rc-dialog'; import { MaskProps } from '../internal/Mask'; import { InternalModalProps as ModalProps } from './Modal'; export declare type UseModalPropsReturn = { handleOk: () => void; handleCancel: () => void; maskProps: MaskProps; rcDialogProps: DialogProps; }; export declare function useModalProps(props: ModalProps, prefix: string): UseModalPropsReturn;