UNPKG

vecstore-js

Version:

A pluggable, browser-native vector database using IndexedDB with support for HNSW and local embeddings.

10 lines (9 loc) 304 B
import { Document, StorageAdapter } from '../types/interfaces.js'; export declare class IDBStorageAdapter implements StorageAdapter { private dbName; private dbPromise; constructor(dbName: string); private init; put(doc: Document): Promise<void>; getAll(): Promise<Document[]>; }