import type { InjectionKey } from 'vue'; import type { ElePopconfirmInstance, ElePopconfirmPropsAndEmits } from '../ele-app/plus'; import type { PopconfirmProvider } from './types'; /** * 气泡确认框注入键名 */ export declare const POPCONFIRM_KEY: InjectionKey; /** * 提供气泡确认框操作 */ export declare function usePopconfirmProvider(): { popconfirmRef: import("vue").Ref; popconfirmVirtualRef: import("vue").ShallowRef; popconfirmProps: import("vue").ShallowRef, Partial>; openPopconfirm: (triggerEl: any, props?: ElePopconfirmPropsAndEmits) => void; removePopconfirm: (triggerEl?: any) => void; }; /** * 使用气泡确认框操作 */ export declare function usePopconfirm(): PopconfirmProvider | null;