/** * Portable `@std/yaml/parse` shim. * * `jsr:@std/yaml` only resolves under Deno, so importing it from core made * every Node and Bun test that transitively touched YAML unresolvable. A * third-party parser cannot move into core either. Core may depend on the * Deno standard library and nothing else. So core keeps the call sites and the * `YamlParserProvider` contract, and the first-party `ext-yaml` extension * keeps the parser. * * @module platform/compat/std/yaml */ import { type YamlParseOptions } from "../../../extensions/parser/yaml-parser.js"; /** Decode one YAML document. */ export declare function parse(source: string, options?: YamlParseOptions): unknown; export type { YamlParseOptions }; //# sourceMappingURL=yaml.d.ts.map