/** * Reading one node of a flow from its YAML mapping, and the sequences nested * in it. * * A node that is refused is read no further and left out of its sequence, * and its id is remembered so nothing that refers to it is reported again: * one mistake is one fault. The faults of a node come back in the order its * keys are written, whatever order they were checked in. */ import { type FlowNode, type KindReader, type NodeKind, type ReadContext } from "./node.ts"; /** * A sequence of nodes under `key`, inside the node at `path` (`""` at the * root), read by the readers of `kinds`. */ export declare function readSequence(value: unknown, key: string, path: string, context: ReadContext, kinds: Readonly>): FlowNode[]; /** Where `word` stands in `words`, the end when it is not there. */ export declare function rankOf(words: readonly (string | undefined)[], word: string): number; /** Whether a YAML value is a mapping. */ export declare function isRecord(value: unknown): value is Record; //# sourceMappingURL=read-node.d.ts.map