/** * Node.js-specific exports for @ruvector/wasm */ import type { VectorEntry, SearchResult, DbOptions } from './index'; /** * VectorDB class for Node.js */ export declare class VectorDB { private db; private dimensions; constructor(options: DbOptions); init(): Promise; insert(vector: Float32Array | number[], id?: string, metadata?: Record): string; insertBatch(entries: VectorEntry[]): string[]; search(query: Float32Array | number[], k: number, filter?: Record): SearchResult[]; delete(id: string): boolean; get(id: string): VectorEntry | null; len(): number; isEmpty(): boolean; getDimensions(): number; saveToFile(path: string): Promise; static loadFromFile(path: string, options: DbOptions): Promise; } export declare function detectSIMD(): Promise; export declare function version(): Promise; export declare function benchmark(name: string, iterations: number, dimensions: number): Promise; export type { VectorEntry, SearchResult, DbOptions }; export default VectorDB; //# sourceMappingURL=node.d.ts.map