import { FxError } from "@microsoft/teamsfx-api"; import { Result } from "neverthrow"; import { ReplaceMapEntry } from "../renderContext/buildRenderContext"; import { Pipeline } from "../pipeline/runScaffoldPipeline"; /** `SystemError` name: a package file's shape is not the discriminated form (a build gate gap). */ export declare const PACKAGE_PARSE_ERROR = "TemplatePackageParseError"; /** Extract `descriptor.replaceMap` as a typed entry list (absent ⇒ empty). */ export declare function parseReplaceMap(descriptor: unknown): Result; /** Extract declared option ids used to seed the render-context identifier domain. */ export declare function parseDeclaredKeys(descriptor: unknown): string[]; /** Extract a parsed `pipeline.json` as a typed `Pipeline`. */ export declare function parsePipeline(raw: unknown): Result; //# sourceMappingURL=packageParse.d.ts.map