import { type ElMessageBoxOptions } from 'element-plus'; import { type VNode } from 'vue'; export declare function warningConfirm(message: string | VNode | (() => VNode), options?: ElMessageBoxOptions): CustomPromise; declare class CustomPromise extends Promise { _onFulfilled: ((value: any) => any | PromiseLike) | undefined | null; _onRejected: ((reason?: any) => any | PromiseLike) | undefined | null; _resolve: null | ((value: any | PromiseLike) => void); _reject: null | ((reason?: any) => void); constructor(executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void); then(onFulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onRejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; catch(onRejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; finally(onFinally?: (() => void) | undefined | null): Promise; } export {};