import type { VectorKey, VectorStore } from '.'; /** MMap based vector store */ export declare class MMapVector implements VectorStore { #private; /** @param fileName - the path + file name without the extension */ constructor(fileName?: string); /** @returns the length of the store */ get length(): number; /** * Push a value into the store * @param value - the value to store */ push(value: V): void; /** * @param index - the position in the store to get the value from * @returns the value */ get(index: number): Promise; /** Sort the store */ sort(): Promise; /** * iterate through the values * @yields an iterator */ values(): AsyncGenerator; /** * iterate through the values * @returns an iterator */ [Symbol.asyncIterator](): AsyncGenerator; /** Closes the store */ close(): void; } //# sourceMappingURL=mmap.d.ts.map