import type { CanonicalGetMemoryResult, GetMemoryOptions, SessionEventInput } from "@devflow-tools/sdk"; export interface MemoryData { memories: Array<{ id: string; category: string; content: string; originalText?: string; source: string; status: string; confidence: number; importance?: number; scope: string; createdAt: number; approvedAt?: number; }>; } export declare class MemoryService { private readonly logger; private engines; private readonly ENGINE_TTL; private readonly mutationProvenance; private getEngine; getAll(rootPath: string, source?: string): Promise; add(rootPath: string, entry: { category: string; content: string; scope?: string; }): Promise; update(rootPath: string, id: string, updates: { content?: string; status?: string; }): Promise; delete(rootPath: string, id: string): Promise; getCandidates(rootPath: string): Promise; approveCandidate(rootPath: string, id: string): Promise; rejectCandidate(rootPath: string, id: string): Promise; search(rootPath: string, query: string, opts?: { limit?: number; categories?: string[]; }): Promise; query(rootPath: string, options: GetMemoryOptions): Promise; updateLegacy(rootPath: string, layer: string, key: string, value: unknown): Promise; recordEvent(rootPath: string, event: SessionEventInput): Promise<{ acknowledged: boolean; extracted: number; }>; getPendingCount(rootPath: string): Promise<{ count: number; }>; processSessionEnd(rootPath: string, sessionId?: string): Promise<{ l2Evaluated: number; l2Kept: number; directWrite: number; discarded: number; pendingEvents: number; }>; } //# sourceMappingURL=memory.service.d.ts.map