import type { ColdCode } from "../core/types.js"; import { Indexer, type IndexerInit } from "./indexer.js"; import { Matter, type MatterInit } from "./matter.js"; /** * Hydrate one low-level `Matter` into the narrowest safe primitive class. * * Maintainer rule: * this is intentionally conservative, not aggressive. Many CESR codes are * semantically overloaded across families (`0A`, `B`, `E`, tag/label codes, * numeric threshold codes, etc.), so generic callers should only get an * automatic narrowing when the code family is genuinely unambiguous. */ export declare function hydrateMatter(init: Matter | MatterInit): Matter; /** Parse one text/binary matter token and hydrate it through `hydrateMatter()`. */ export declare function parseQualifiedMatter(input: Uint8Array, cold: Extract): Matter; /** Hydrate one low-level `Indexer` into the narrowest safe primitive class. */ export declare function hydrateIndexer(init: Indexer | IndexerInit): Indexer; /** Parse one text/binary indexer token and hydrate it through `hydrateIndexer()`. */ export declare function parseQualifiedIndexer(input: Uint8Array, cold: Extract): Indexer; //# sourceMappingURL=hydrate.d.ts.map