import { SelectOption } from 'star-horse-lowcode'; import { AppContext, VNode } from 'vue'; /** * 获取打印机列表 */ export declare function printerList(): Promise>; /** * 验证接口,并取回数据 * @param url * @param params 参数 * @param dataType 数据类型 FORM,JSON 默认JSON * @param httpMethod 接口请求方式 POST,GET,PUT,DELETE */ export declare function validDataUrl(url: string, params?: any, dataType?: string, httpMethod?: string): Promise<{ data: any; error: string; }>; /** * 支持函数、数组、对象的深拷贝函数 * @param {any} obj - 需要拷贝的对象 * @returns {any} 拷贝后的新对象 */ export declare function deepClone(obj: any): any; export interface DynamicContainerOptions { type: any; title?: string; content?: DynamicContainerOptions | VNode; props?: Record; events?: Record; appContext?: AppContext; } /** * 动态创建 Dialog/Drawer 组件 * @param {Object} options - 配置项 * @param {string} options.type - 类型:'dialog' 或 'drawer' * @param {string} options.title - 标题 * @param {string} options.content - 内容(支持简单文本或HTML) * @param {Object} options.props - 组件额外属性(如 width、direction 等) */ export declare const createDynamicComp: (options: DynamicContainerOptions) => { close: () => void; formInstance: import('vue').Ref; };