import { ExpressionRuntimePort } from "../expression/evaluateExpression"; import { PipelineRuntimePort } from "../pipeline/runScaffoldPipeline"; import { Warning } from "@microsoft/teamsfx-api"; import { StepRegistry } from "./runtimeRegistry"; /** Pure in-memory scaffold runtime. See ADR-0018. */ /** A composed in-memory runtime: the pipeline port, its backing file map, and the shared expr port. */ export interface InMemoryRuntime { /** The pipeline executor's port, backed by the shared file map. */ port: PipelineRuntimePort; /** The shared render + write file map (`path → bytes`); the read face reads back from it. */ files: Map; /** Plaintext secret values, isolated from the ordinary file map by environment name. */ secretEnvironmentVariables: Map>; /** Warnings emitted by post-render steps, in emission order. */ warnings: Warning[]; /** The pure expression port (whitelist + flags), reused for `{expr}` render-var derivation. */ exprPort: ExpressionRuntimePort; } /** Build an in-memory runtime. */ export declare function createInMemoryRuntime(flagReader?: (name: string) => boolean, stepRegistry?: StepRegistry): InMemoryRuntime; //# sourceMappingURL=inMemoryRuntime.d.ts.map