import type { Message, MemoryStore } from '../core/types'; /** * DeepBrain-backed memory store for long-term semantic memory. * Falls back to local JSON file storage (.opc/memory.json) if deepbrain package is not installed. */ export interface DeepBrainClient { store(collection: string, id: string, content: string, metadata?: Record): Promise; search(collection: string, query: string, limit?: number): Promise>; delete(collection: string, id?: string): Promise; } export declare class DeepBrainMemoryStore implements MemoryStore { private fallback; private client; private collection; private ready; constructor(options?: { collection?: string; config?: Record; }); private initClient; get(key: string): Promise; set(key: string, value: unknown): Promise; getConversation(sessionId: string): Promise; addMessage(sessionId: string, message: Message): Promise; clear(sessionId?: string): Promise; /** * Semantic search over stored memories. */ semanticSearch(query: string, limit?: number): Promise>; isDeepBrainAvailable(): Promise; } //# sourceMappingURL=deepbrain.d.ts.map