/** * Small, safe YAML subset parser for `@startyaml`: block mappings and * sequences, flow collections, quoted/plain scalars, comments and block * scalars (`|`, `>`). No tags, anchors or custom types are evaluated. * @module diagrams/data/yaml */ export type YamlValue = null | boolean | number | string | any[] | Record; /** @typedef {null | boolean | number | string | any[] | Record} YamlValue */ /** * @param {string} text * @returns {YamlValue} */ export declare function parseYaml(text: string): YamlValue;