import * as S from 'ufc-schema'; /** 获取某个用户个人级别配置 */ export declare function getUserConfig(userId: S.Id, keys: string[]): Promise>; /** 获取租户级别/全局级别配置 */ export declare function getConfig(keys: string[], type?: S.ConfigType, { userId, tenantId, }?: { userId?: S.Id; tenantId?: S.Id; }): Promise; /** 更新或者创建某个配置 */ export declare function updateConfig(kvConfig: Partial): Promise; /** 更新全局配置 */ export declare function updateGlobalConfig(draft: Partial>): Promise;