import { Finding } from "../types"; interface BrainMemory { prompt: string; response: string; similarity: number; } /** * Talks to TheBrainV2 directly instead of the proxy's /api/search and /api/memory/store * routes. Those routes are backed by ChromaDB + a local Ollama embeddings server on :11434 — * the exact stack TheBrainV2 was built to replace — so whenever Ollama wasn't running (the * common case now), every call here silently no-opped: findPriorBugs always returned empty * and storeReview always failed, both swallowed by try/catch. PR review memory and * interactive coding memory were two disconnected systems as a result. Using the same * zero-dependency Brain instance everything else reads from means a review actually sees * what search_memory/get_telepathic_hints already know about a file, and vice versa. */ export declare class BrainBridge { private searchQuery; findPriorBugs(files: string[]): Promise>; getContextualHints(files: string[], baseBranch: string): Promise<{ file: string; hints: string[]; }[]>; storeReview(reviewId: string, repo: string, prNumber: number, score: number, verdict: string, findings: Finding[], files: string[]): Promise; adjustWeightsFromHistory(files: string[], baseWeights: { static: number; security: number; regression: number; quality: number; }): Promise; } export {}; //# sourceMappingURL=BrainBridge.d.ts.map