import type { ExecutionPrincipal, ProcessOwner, UserProfile } from "@edenapp/types"; import { SessionContext } from "../session/SessionContext"; import type { EffectivePrincipal } from "./ExecutionContext"; type RuntimeContext = { owner: ProcessOwner; principal: ExecutionPrincipal; profile?: UserProfile; }; export declare class RuntimeContextRegistry { private sessionContext; private readonly contexts; constructor(sessionContext: SessionContext); register(appId: string, context: RuntimeContext): void; unregister(appId: string): void; get(appId: string): RuntimeContext | undefined; resolvePrincipal(appId: string): EffectivePrincipal | undefined; dispose(): void; } export {}; //# sourceMappingURL=RuntimeContextRegistry.d.ts.map