import { walEntrySize } from '../constants'; export { walEntrySize }; export interface TestPaths { dataPath: string; walPath: string; lockPath: string; } /** * Generate unique test file paths with a prefix. */ export declare function createTestPaths(prefix: string): TestPaths; /** * Clean up test files. */ export declare function cleanup(paths: TestPaths[]): Promise; /** * Flip a single byte in a byte array at the specified index. */ export declare function flipByte(data: Uint8Array, index: number): void; /** * Collect all entries from an async generator into an array. */ export declare function collectEntries(generator: AsyncGenerator): Promise; /** * Generate a random embedding vector of the given dimension. */ export declare function generateRandomEmbedding(dimension?: number): Float32Array; /** * Check if two embeddings are approximately equal. */ export declare function embeddingsEqual(a: Float32Array | number[], b: Float32Array | number[], tolerance?: number): boolean; //# sourceMappingURL=helpers.d.ts.map