/** * Vetted-parser YAML helpers for the manifest-edge extractors. Replaces the * prior line scanner, which understood only `key: value` / `- item` lines and a * single-line flow list, silently missing block sequences nested under maps, * flow collections, multi-line scalars, and anchors — dropping the path edges * those YAML configs declare (A5+A11). `yaml` (eemeli) is a pure-JS, * spec-compliant parser. All helpers degrade to empty on malformed input: the * graph builder treats an unparseable manifest as declaring no edges, never * throwing. */ /** Parse YAML, degrading to `undefined` on malformed input (never throws). */ export declare function parseYamlSafe(content: string): unknown; /** The top-level object value of a parsed YAML document, or undefined. */ export declare function yamlRootObject(content: string): Record | undefined; /** Coerce a YAML value to a string[]: a scalar → `[s]`, a sequence → its strings. */ export declare function yamlStringArray(value: unknown): string[]; /** * Every string SCALAR VALUE reachable in a parsed YAML value, walked depth-first * through maps and sequences (map keys are not collected — only values, matching * the prior extractor that read the value side of `key: value` and list items). * Nested structures the line scanner could not reach are now included. */ export declare function collectYamlStringScalars(value: unknown, out?: string[]): string[]; //# sourceMappingURL=yaml.d.ts.map