import { RedisClientType } from "redis"; import { EventEmitter } from "events"; import type { StorageBackend, Memory, AddMemoryParams, SearchMemoryParams, GetAllMemoriesParams } from "../types/index.js"; export declare class LocalMemory extends EventEmitter implements StorageBackend { private redisServer; private client; private pubClient; private subClient; private vectraMemory; private memories; private isStarting; private isReady; private quiet; constructor(quiet?: boolean); private log; private logError; start(): Promise; stop(): Promise; add(params: AddMemoryParams): Promise<{ id: string; status: string; local: boolean; }>; search(params: SearchMemoryParams): Promise; private calculateRelevanceScore; getAll(params: GetAllMemoriesParams): Promise; delete(memoryId: string, userId?: string): Promise<{ id: string; status: string; }>; update(memoryId: string, updates: Partial, userId?: string): Promise; getStats(): Promise<{ status: string; type: string; memories: number; memory_usage: string; uptime: string; }>; exportData(): Promise>; importData(data: Record): Promise<{ imported: number; }>; getClient(): RedisClientType | null; getPubClient(): RedisClientType | null; getSubClient(): RedisClientType | null; } export default LocalMemory; //# sourceMappingURL=local-memory.d.ts.map