import type { Component, ComputedOptions, MethodOptions, VNode, VNodeArrayChildren } from 'vue'; interface RawSlots { [name: string]: unknown; $stable?: boolean; } type RawChildren = string | number | boolean | VNode | VNodeArrayChildren | (() => any); export interface IPopupOptions { rootComponent: Component; rootProps?: Record | null | undefined; children?: RawChildren | RawSlots | undefined; } export interface DomOptions { appendDom?: HTMLElement; domSet?: (el: HTMLDivElement) => void; } export declare function domAdd(container: Component, options?: DomOptions): { add: () => void; destroy: () => void; close: () => void; }; export {};