declare function onConfirm(): Promise; declare function onCancel(): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; icon?(_: {}): any; content?(_: {}): any; actions?(_: { confirm: typeof onConfirm; cancel: typeof onCancel; loading: boolean; }): any; }; refs: { triggerRef: HTMLDivElement; panelRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent; readonly default: "info"; }; readonly icon: { readonly type: BooleanConstructor; readonly default: true; }; readonly confirmText: { readonly type: StringConstructor; readonly default: "Yes"; }; readonly cancelText: { readonly type: StringConstructor; readonly default: "No"; }; readonly showCancel: { readonly type: BooleanConstructor; readonly default: true; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly width: { readonly type: import('vue').PropType; readonly default: 280; }; readonly gap: { readonly type: NumberConstructor; readonly default: 8; }; readonly trigger: { readonly type: import('vue').PropType; readonly default: "click"; }; readonly beforeConfirm: { readonly type: import('vue').PropType<() => boolean | Promise>; readonly default: undefined; }; readonly autoClose: { readonly type: NumberConstructor; readonly default: 0; }; readonly hideOnRouteChange: { readonly type: BooleanConstructor; readonly default: true; }; readonly condition: { readonly type: BooleanConstructor; readonly default: true; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { close: () => void; cancel: () => void; open: () => void; confirm: () => void; }, string, import('vue').PublicProps, Readonly; readonly default: "info"; }; readonly icon: { readonly type: BooleanConstructor; readonly default: true; }; readonly confirmText: { readonly type: StringConstructor; readonly default: "Yes"; }; readonly cancelText: { readonly type: StringConstructor; readonly default: "No"; }; readonly showCancel: { readonly type: BooleanConstructor; readonly default: true; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly width: { readonly type: import('vue').PropType; readonly default: 280; }; readonly gap: { readonly type: NumberConstructor; readonly default: 8; }; readonly trigger: { readonly type: import('vue').PropType; readonly default: "click"; }; readonly beforeConfirm: { readonly type: import('vue').PropType<() => boolean | Promise>; readonly default: undefined; }; readonly autoClose: { readonly type: NumberConstructor; readonly default: 0; }; readonly hideOnRouteChange: { readonly type: BooleanConstructor; readonly default: true; }; readonly condition: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{ onClose?: (() => any) | undefined; onCancel?: (() => any) | undefined; onOpen?: (() => any) | undefined; onConfirm?: (() => any) | undefined; }>, { readonly icon: boolean; readonly disabled: boolean; readonly loading: boolean; readonly type: import('./popconfirm').PopconfirmType; readonly title: string; readonly width: string | number; readonly description: string; readonly autoClose: number; readonly gap: number; readonly trigger: import('./popconfirm').PopconfirmTrigger; readonly confirmText: string; readonly cancelText: string; readonly showCancel: boolean; readonly beforeConfirm: () => boolean | Promise; readonly hideOnRouteChange: boolean; readonly condition: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { triggerRef: HTMLDivElement; panelRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };