import type { ColdCode } from "../core/types.js"; import { Matter, type MatterInit } from "./matter.js"; /** True when code belongs to KERIpy `BextCodex`/StrB64 family. */ export declare function isBexterCode(code: string): boolean; /** * CESR Base64-text primitive (`bext`) with compact StrB64 encoding. * * KERIpy correspondence: * - mirrors the `Bexter`/StrB64 family contract: payload text is already * restricted to Base64 URL-safe characters, so the qualified form can be more * compact than generic UTF-8 text primitives * * Invariant: * - `code` must belong to the StrB64/Bexter codex family */ export declare class Bexter extends Matter { /** Convert bext text into CESR raw payload bytes. */ static rawify(bext: string): Uint8Array; /** Decode CESR raw payload bytes back into bext text. */ static derawify(raw: Uint8Array, code: string): string; constructor(init: Matter | MatterInit); /** Base64 text payload value without CESR code prefix. */ get bext(): string; } /** * Parse and hydrate a `Bexter` from txt/qb2 bytes. * * Boundary contract: parser chooses domain from `cold`, while this constructor * enforces codex membership and exposes semantic `bext` accessors. */ export declare function parseBexter(input: Uint8Array, cold: Extract): Bexter; //# sourceMappingURL=bexter.d.ts.map