import { Id, Person, User } from '../memi'; import { TenantConfig, TenantGlobalConfig, UfcModuleNameType } from '../ufc'; export interface InjectableGlobalConfig { isPrivateCloud?: boolean; HOST?: string; UFI_HOST?: string; NODE_HOST?: string; pwa?: false; user?: User; person?: Person; globalConfig?: TenantGlobalConfig; tenantId?: Id; tenantConfig?: TenantConfig; enabledApps?: string[]; hiddenModules?: UfcModuleNameType[]; } /** 是否为超级用户 */ export declare const isSupervisor: () => boolean; /** 是否为捷配客服 */ export declare const isJiepeiKefu: () => boolean; /** 是否为外部协助过单用户 */ export declare const isExternalQuotationAssistant: () => boolean; export declare function getIsolatedScope(): string; export declare function setIsolatedScope(_p: string): void; /** 获取对象 */ export declare function getScopedItem(key: string, prefix?: string): string; /** * 设置对象 * 不需要进行租户数据隔离的,这里的 prefix 传 '' */ export declare function setScopedItem(key: string, value: string, prefix?: string): void; /** 移除对象 */ export declare function removeScopedItem(key: string, prefix?: string): void;