/** * Convert a YAML blueprint file into canonical IR JSON shape for validate/export. * YAML mirrors JSON IR: either `{ graph: { metadata?, nodes, edges? } }` or a bare `{ nodes, edges?, metadata? }`. */ export declare class YamlGraphParseError extends Error { constructor(message: string); } /** * Parse YAML text and return `{ graph: { ... } }` suitable for `validateIrStructural` / `runDeterministicExport`. */ export declare function parseYamlToCanonicalIr(yamlText: string): Record; /** Pretty-printed JSON for stable CLI output (2-space indent + trailing newline). */ export declare function canonicalIrToJsonString(ir: Record): string; //# sourceMappingURL=yamlToIr.d.ts.map