/** * The composition-root impl of the flag-on `createProjectFrontDoor` seams * (`dispatch-create-by-engine` `CreateFrontDoorDeps`). These live outside the * pure orchestrator so it stays injectable and I/O-free: `FxCore` wires these * real handlers, the orchestrator's tests wire fakes. * * - `scaffoldV4` — the `engine: "v4"` hand-off: build a v3 `GeneratorContext` * over the create floor and render the authored declarative * package through the v4 distribution channel. */ import { CreateProjectResult, FxError, Inputs, Result, UserInteraction } from "@microsoft/teamsfx-api"; import { ResolvedV4ChannelPackage, scaffoldDeclarativeFromV4Channel } from "../component/generator/v4TemplateBridge"; import { Answers, BuildTarget } from "../v4"; /** * The one module function `scaffoldV4` hands the located package to, behind the * repo's `*Deps` seam so a test can stub the channel render without I/O (the v4 * named export is otherwise a read-only binding). */ export declare const scaffoldV4Deps: { scaffoldDeclarativeFromV4Channel: typeof scaffoldDeclarativeFromV4Channel; }; /** * The `engine: "v4"` hand-off. The orchestrator has already collected the * package's own answers (Q2, via `runCreateInputs`); this validates the create * floor (`folder` / `app-name`), then renders the located `create/` * declarative package onto disk via the v4 distribution channel. * * Mirrors the legacy customized-generator validation, tracking-id and manifest * short-name-trim tail so a v4 scaffold yields the same `CreateProjectResult` * shape as every other create path. */ export declare function scaffoldV4(inputs: Inputs, target: BuildTarget, answers: Answers, flagReader?: (name: string) => boolean, resolvedPackage?: ResolvedV4ChannelPackage): Promise>; /** * The `engine: "v4"` create-floor collection. The front door owns Q1/Q2, so the * remaining surface floor is collected directly here instead of routing through * any legacy question-tree traversal. */ export declare function collectCreateFloor(inputs: Inputs, ui: UserInteraction): Promise>; //# sourceMappingURL=createFrontDoorAdapters.d.ts.map