import type { ColdCode } from "../core/types.js"; import { Matter, type MatterInit } from "./matter.js"; /** True when code belongs to KERIpy `LabelCodex` accepted by native map labels. */ export declare function isLabelerCode(code: string): boolean; /** * Label/text primitive used for native map keys and textual field values. * * KERIpy semantics: `Labeler` accepts Tag/Bext/Bytes families (plus compact * label codes) and provides both strict attribute-label projection (`label`) * and generic text projection (`text`). */ export declare class Labeler extends Matter { constructor(init: Matter | MatterInit); /** Canonical qb64 token for emit/roundtrip paths. */ get token(): string; /** Attribute-safe label projection used for map key semantics. */ get label(): string; /** Raw text projection without attribute-name validation. */ get text(): string; /** Numeric projection helper used for compact fixed-width label values. */ get index(): number; /** Raw decoded bytes backing the label/text token. */ get bytes(): Uint8Array; } /** * Parse and hydrate a `Labeler` from txt/qb2 bytes. * * Boundary contract: parsing is syntactic; semantic label validity is enforced * when `label` accessor is read. */ export declare function parseLabeler(input: Uint8Array, cold: Extract): Labeler; //# sourceMappingURL=labeler.d.ts.map