import { Ref, VNode } from 'vue'; import { ButtonSize } from '../types'; declare global { interface VcGlobalSingletons { confirmModalState: Ref; } } type paramsType = { header?: string; type?: 'confirm' | 'save' | 'edit' | 'delete'; message?: string; renderContent?: VNode; modalConfirmLabel?: string; modalCancelLabel?: string; contentWrapperClass?: string; contentClass?: string; buttonSize?: ButtonSize; hideMessage?: boolean; }; type ConfirmObjectType = { open: boolean; header: string; type: string; message: string; renderContent: VNode | undefined; openModal: (params: paramsType) => void; closeModal: () => void; modalConfirmLabel?: string; modalCancelLabel?: string; onClose?: () => void; onConfirm?: () => void; showMessage?: boolean; contentWrapperClass?: string; contentClass?: string; buttonSize?: ButtonSize; }; export declare const confirmModalState: Ref; declare const useConfirmModal: (params: paramsType) => Promise; export default useConfirmModal;