import { ApiUrls, SelectOption } from 'star-horse-lowcode'; export declare function initApi(api: ApiUrls): void; /** * 打开数据库,并返回所以表信息 * @param configId */ export declare function openDatabase(configId: any): Promise | null; /** * 初始化当前用户权限的数据库配置信息 */ export declare function initDbList(): Promise>; /** * 获取数据库所有表信息 * @param configId */ export declare function tableList(configId: number): Promise>; /** * 获取指定表的所有字段信息 * @param configId 数据库配置Id * @param tableName 表名 */ export declare function tableColumns(configId: any, tableName: string): Promise>;