import { Ref } from 'vue'; interface Props { type?: 'primary' | 'danger' | 'warning'; onConfirm?: () => void; onCancel?: () => void; title?: string; description?: string; confirm?: string; cancel?: string; manualTextConfirmation?: string; doubleConfirm?: boolean; } declare function onClose(): void; declare function onOpen(payload: Props): void; export declare function useConfirmationState(): { isOpen: Ref; props: { type?: "primary" | "danger" | "warning" | undefined; onConfirm?: (() => void) | undefined; onCancel?: (() => void) | undefined; title?: string | undefined; description?: string | undefined; confirm?: string | undefined; cancel?: string | undefined; manualTextConfirmation?: string | undefined; doubleConfirm?: boolean | undefined; }; onClose: typeof onClose; onOpen: typeof onOpen; }; export declare const confirm: { success: (props: Props) => void; warning: (props: Props) => void; danger: (props: Props) => void; }; export {};