import { ConfigElement } from '../elements/config'; import { Script, StoreProvider } from '../interfaces'; import { Config } from '../interfaces/config'; /** * 元素创建器 */ export declare const $creator: { /** 创建多行的文本,支持 字符串,元素,以及包含字符串元素的列表,最多二维数组 */ notes(lines: (string | HTMLElement | (string | HTMLElement)[])[], tag?: 'ul' | 'ol'): HTMLOListElement | HTMLUListElement; /** * 启动元素提示气泡,根据元素 title 即时显示,(兼容手机端的提示) * @param target */ tooltip(target: T): T; scriptPanel(script: Script, store: StoreProvider, opts?: { onload?: ((el: ConfigElement) => void) | undefined; } | undefined): import("..").ScriptPanelElement; /** 创建独立的设置区域 */ configsArea(configElements: Record>): HTMLDivElement; /** 创建设置元素 */ configs>>(namespace: string | undefined, store: StoreProvider, configs: T_1, onload?: ((el: ConfigElement) => void) | undefined): { [K in keyof T_1]: ConfigElement; }; };