/** * 创建插件容器 * * Create a plugin container * @param type - 插件类型 | plugin type * @param cover - 容器是否覆盖整个画布 | Whether the container covers the entire canvas * @param style - 额外样式 | Additional style * @returns 插件容器 | plugin container */ export declare function createPluginContainer(type: string, cover?: boolean, style?: Partial): HTMLElement; /** * 创建 DOM 元素,如果存在则删除,再创建一个新的 * * Create a DOM element, if exists, remove it and create a new one. * @param id - id | id * @param tag - 标签 | tag * @param style - 样式 | style * @param innerHTML - 内容 | innerHTML * @param container - 容器 | container * @returns 创建的 DOM 元素 | created DOM element */ export declare function insertDOM(id: string, tag?: string, style?: Partial, innerHTML?: string, container?: HTMLElement): HTMLElement;