import { EnvDefinition } from '../env-definition'; import type { Environment } from '../environment'; import type { EnvRuntime, Runtime } from '../runtime'; export type ServiceMap = { [env: string]: T; }; export declare class ExecutionContext { /** * upper scope of all environment contexts. */ readonly upper: Runtime; /** * runtime instance of the environment. */ readonly envRuntime: EnvRuntime; /** * components applied in the execution context. */ components: import("@teambit/component").Component[]; constructor( /** * upper scope of all environment contexts. */ upper: Runtime, /** * runtime instance of the environment. */ envRuntime: EnvRuntime, /** * components applied in the execution context. */ components?: import("@teambit/component").Component[]); relatedContexts: string[]; /** * extension ID of the environment */ get id(): string; /** * environment instance. */ get env(): Environment; get envDefinition(): EnvDefinition; apply(name: string, args: any[]): T; }