/** * Auth-broker wire-protocol helpers shared by the server and the client store. */ import type { CredentialBlockSnapshot } from "./types.js"; /** Parse a snapshot `ETag` / `If-None-Match` value (`"N"`, `W/"N"`, or bare `N`) into a generation. */ export declare function parseGenerationTag(header: string | null): number | undefined; /** * Canonical order for a credential's block snapshots. The server and the client * store both sort with it, because block lists are compared positionally; the * `updatedAtMs` tiebreak keeps otherwise-identical blocks in one stable order. */ export declare function compareCredentialBlockSnapshots(a: CredentialBlockSnapshot, b: CredentialBlockSnapshot): number;