import { FxError, Warning } from "@microsoft/teamsfx-api"; import { Result } from "neverthrow"; import { ExpressionRuntimePort } from "../expression/evaluateExpression"; import { ManifestWrapper, PipelineRuntimePort, RegisteredStep } from "../pipeline/runScaffoldPipeline"; import { GeneralSensitivityLabelService } from "./steps/daSensitivity"; /** Shared v4 pipeline registry and port factory. See ADR-0017 for whitelist rules. */ /** The orchestration names the engine knows (ADR-0017 closed whitelist). */ export declare const KNOWN_PIPELINES: Set; /** Generic named-step lookup assembled at a runtime composition boundary. */ export type StepRegistry = ReadonlyMap; /** Bind runtime-owned business adapters into the closed post-render step whitelist. */ export declare function createStepRegistry(generalSensitivityLabel?: GeneralSensitivityLabelService): StepRegistry; /** Default post-render step whitelist for offline runtimes and compatibility tests. */ export declare const STEP_REGISTRY: StepRegistry; /** No-op wrapper for create flows that do not mutate a manifest. */ export declare const NOOP_MANIFEST_WRAPPER: ManifestWrapper; /** Runtime-specific file sink injected behind the shared pipeline port. */ export interface FileSink { /** Persist `data` at `path` (a target-relative, forward-slash path). */ write(path: string, data: Buffer): void; /** Read back a previously written file, or `undefined` when absent (EAFP). */ read(path: string): Buffer | undefined; } /** Runtime-owned persistence boundary for regular and secret environment values. */ export type EnvironmentWriter = (environment: string, values: Record) => Promise>; /** Build the shared pipeline port over an injected file sink. */ export declare function buildPipelinePort(exprPort: ExpressionRuntimePort, sink: FileSink, environmentWriter: EnvironmentWriter, stepRegistry?: StepRegistry, warningSink?: (warning: Warning) => void): PipelineRuntimePort; //# sourceMappingURL=runtimeRegistry.d.ts.map