import { MemoryService } from "./memory.service.js"; import { ProjectsService } from "../projects/projects.service.js"; export declare class MemoryController { private readonly service; private readonly projects; constructor(service: MemoryService, projects: ProjectsService); private resolveRootPath; getAll(rootPath?: string, source?: string, xProject?: string): Promise; add(rootPath: string | undefined, body: { category: string; content: string; scope?: string; }, xProject?: string): Promise; update(rootPath: string | undefined, id: string, body: { content?: string; status?: string; }, xProject?: string): Promise<{ ok: boolean; }>; delete(rootPath: string | undefined, id: string, xProject?: string): Promise<{ ok: boolean; }>; getCandidates(rootPath?: string, xProject?: string): Promise; approve(rootPath: string | undefined, id: string, xProject?: string): Promise<{ approved: boolean; }>; reject(rootPath: string | undefined, id: string, xProject?: string): Promise<{ rejected: boolean; }>; search(rootPath: string | undefined, body: { query: string; limit?: number; categories?: string[]; }, xProject?: string): Promise; query(rootPath: string | undefined, body: { query?: string; purpose?: string; budgetTokens?: number; scopes?: string[]; }, xProject?: string): Promise; extract(): void; ollamaStatus(): void; updateLegacy(rootPath: string | undefined, layer: string, key: string, body: { value: unknown; }, xProject?: string): Promise<{ ok: boolean; }>; recordEvent(): void; recordSessionEvent(rootPath: string | undefined, body: unknown, xProject?: string): Promise<{ acknowledged: boolean; extracted: number; }>; pendingCount(): void; processEvents(): void; } //# sourceMappingURL=memory.controller.d.ts.map