import { FxError } from "@microsoft/teamsfx-api"; import { Result } from "neverthrow"; import { ExpressionRuntimePort } from "../expression/evaluateExpression"; import { Answers, CallerFloor, RenderVars } from "../model/dataModel"; /** One closed-DSL `replaceMap` entry. */ export type ReplaceMapEntry = { var: string; const: string; } | { var: string; from: string; } | { var: string; when: string; value: string; } | { var: string; expr: string; }; /** `SystemError` name for a `replaceMap[].var` that shadows the caller floor. */ export declare const RCTX_SHADOWS_CALLER_FLOOR = "RenderVarShadowsCallerFloor"; /** Build one template's render variable map. */ export declare function buildRenderContext(replaceMap: ReplaceMapEntry[], answers: Answers, callerFloor: CallerFloor, port: ExpressionRuntimePort, declaredKeys?: string[]): Result; //# sourceMappingURL=buildRenderContext.d.ts.map