/** * Serialization and deserialization for HNSW indexes. * * Format: * JSON-encoded structure containing: * - config: { maxLayer, maxNumberOfNeighbors, efConstruction, efSearch } * - entrypointKey * - nodes: Array of { key, vector, maxLayer, neighbors: Record } */ import { HnswIndex } from './hnsw-index'; /** * Serialize an HNSW index to a Uint8Array. */ export declare function serializeHnswIndex(index: HnswIndex): Uint8Array; /** * Deserialize an HNSW index from a Uint8Array. */ export declare function deserializeHnswIndex(bytes: Uint8Array): HnswIndex; //# sourceMappingURL=hnsw-persistence.d.ts.map