import { StorageStrategy, QueryMatcher, SchemaRecord } from './storage-strategy'; export declare class MemoryStorageStrategy implements StorageStrategy { private _data; private _indexes; initialize(): Promise; getAll(): Promise; add(doc: T): Promise; addMany(docs: T[]): Promise; update(_oldDoc: T, _newDoc: T): Promise; remove(doc: T): Promise; removeMany(docs: T[]): Promise; clear(): Promise; drop(): Promise; createIndex(fields: keyof T | Array, options?: { unique?: boolean; }): Promise; rebuildIndexes(): Promise; updateIndexForDocument(oldDoc: T | null, newDoc: T | null): void; private _updateIndexes; checkUniqueConstraints(doc: Partial, excludeDoc?: T): void; findDocuments(matcher: QueryMatcher, indexHint?: { fields: Array; values: Record; }): Promise; /** * Memory storage doesn't persist schemas, so this is a no-op */ recordSchema(_schemaData: { modelName: string; version: string; definition: Record; indexes: Array<{ fields: string[]; unique: boolean; }>; options: Record; }): Promise; /** * Memory storage doesn't persist schemas, so this always returns null */ getSchema(_modelName: string): Promise; } //# sourceMappingURL=memory-strategy.d.ts.map