import type { Smellage } from "../core/types.js"; import type { Versionage } from "../tables/table-types.js"; import { type Kind, type Protocol } from "../tables/versions.js"; /** * Build one CESR/KERI version string from its semantic parts. * * This is the serialize-side counterpart to `smell()`: callers that already * know protocol, version, kind, and measured size can construct the embedded * version token without reimplementing the encoding rules. */ export declare function versify(opts: { proto?: Protocol; pvrsn?: Versionage; gvrsn?: Versionage | null; kind?: Kind; size: number; }): string; /** * Locate and decode the first version string in the stream head window. * * For non-native bodies this is the canonical pre-hydration metadata probe used * by parser and serder layers before any protocol-specific decode occurs. */ export declare function smell(raw: Uint8Array): { smellage: Smellage; start: number; fullLength: number; }; //# sourceMappingURL=smell.d.ts.map