/** Origin domain of losslessly preserved unknown CESR payloads. */ export type PrimitiveDomain = "txt" | "bny"; /** * Lossless placeholder for unrecognized CESR units encountered during parse. * * In compat fallback paths we preserve unknown payload bytes as instances of * this class so roundtrip serialization can remain byte-accurate. */ export declare class UnknownPrimitive { readonly code: string; readonly qb64: string; readonly qb2: Uint8Array; readonly fullSize: number; readonly fullSizeB2: number; readonly raw: Uint8Array; readonly sourceDomain: PrimitiveDomain; constructor(qb64: string, qb2: Uint8Array, sourceDomain: PrimitiveDomain); /** * Build an unknown primitive directly from parser payload bytes. * * When `domain="txt"` and content is not valid base64, `qb2` intentionally * keeps the original bytes to remain lossless. */ static fromPayload(payload: Uint8Array, domain: PrimitiveDomain): UnknownPrimitive; /** Equality by canonical text form used throughout primitive graph comparisons. */ equals(other: { qb64: string; }): boolean; /** String coercion returns canonical qb64 text token. */ toString(): string; } //# sourceMappingURL=unknown.d.ts.map