import { IRuntimeFrameworkContext } from '@farris/devkit'; import { GspFramework } from '../types'; import { RuntimeFrameworkContextService } from './runtime-framework-context.service'; /** * 运行框架上下文 */ export declare class RuntimeFrameworkContext implements IRuntimeFrameworkContext { userId: string; languageId: string; userCode: string; userName: string; orgId: string; orgName: string; unitId: string; unitName: string; constructor(userInfo: GspFramework.UserInfo); } /** * 运行框架上下文实例化工厂 * @param runtimeFrameworkContextService -运行框架上下文服务 * @returns {IRuntimeFrameworkContext} -运行框架上下文 */ export declare function runtimeFrameworkContextFactory(runtimeFrameworkContextService: RuntimeFrameworkContextService): IRuntimeFrameworkContext;