import { Component } from 'vue'; /** 统一句柄 */ export interface PopupHandle { close: () => void; update: (props: Record) => void; promise: Promise; id: string; } /** * 创建弹出层实例 * * @param component - Vue 组件(弹层本体),必须支持 `visible` 和 `onClose` props * @param props - 初始 props * @param options.animationDuration - 关闭动画时长(ms),默认 200 * @param options.mountTarget - 挂载目标,默认 document.body */ export declare function createPopup(component: Component, props: Record, options?: { animationDuration?: number; mountTarget?: HTMLElement; }): PopupHandle;