/** * @module minions-sdk/index-layer/memory * In-memory index adapter — useful for testing and ephemeral workloads. */ import type { StorageFilter } from '../storage/StorageAdapter.js'; import type { IndexAdapter, IndexEntry } from './IndexAdapter.js'; /** * Simple in-memory index adapter. * * All data is stored in a `Map` and is lost when the process exits. * This is the default index adapter when no persistence is required and * is well suited for unit tests and as a reference implementation. */ export declare class MemoryIndexAdapter implements IndexAdapter { private store; upsert(entry: IndexEntry): Promise; remove(id: string): Promise; list(filter?: StorageFilter): Promise; search(query: string): Promise; count(filter?: StorageFilter): Promise; clear(): Promise; } //# sourceMappingURL=MemoryIndexAdapter.d.ts.map