import { MaybeRef, VueNode } from '../../_util/type';
import { ModalFuncProps } from '../Modal';
import { ModalStaticFunctions } from '../confirm';
export type ModalFuncWithRef = (props: MaybeRef<ModalFuncProps>) => {
    destroy: () => void;
    update: (configUpdate: ModalFuncProps) => void;
};
declare function useModal(): readonly [
    Omit<ModalStaticFunctions<ModalFuncWithRef>, 'warn'>,
    () => VueNode
];
export default useModal;
