import { type Document } from "yaml"; import { type TaggedScalar, type YamlFinding } from "./findings.js"; export interface ParsedYaml { source: string; value?: unknown; tags: TaggedScalar[]; findings: YamlFinding[]; document?: Document; } /** Parse one YAML document while retaining the exact authored source. */ export declare function parseYaml(source: string): ParsedYaml; export declare function parseWorkspec(source: string): ParsedYaml & { valid: boolean; };