import type { ColdCode } from "../core/types.js"; import { Diger } from "./diger.js"; import { Matter, type MatterInit } from "./matter.js"; /** * Nonce primitive for UUID/salt-or-digest nonce representations. * * KERIpy semantics: `Noncer` subclasses `Diger` with relaxed digest-code * enforcement and validates membership in `NonceCodex` (including `Empty`). */ export declare class Noncer extends Diger { constructor(init: Matter | MatterInit); /** * Roundtrippable nonce text. * * Mirrors KERIpy behavior: empty nonce is represented as empty string when * code is `Empty`; otherwise returns qualified qb64 nonce token. */ get nonce(): string; /** Binary companion to `.nonce` with empty-bytes behavior for `Empty` code. */ get nonceb(): Uint8Array; } /** Parse and hydrate `Noncer` from txt/qb2 bytes. */ export declare function parseNoncer(input: Uint8Array, cold: Extract): Noncer; //# sourceMappingURL=noncer.d.ts.map