/** * Log a retrieval event to brain_retrieval_log for co-retrieval analysis. * * Creates the table on first use if it doesn't exist (self-healing). * Best-effort: errors are silently swallowed. * * @param projectRoot - Project root directory * @param query - The search query or fetch IDs * @param entryIds - Array of entry IDs returned in this retrieval * @param source - Retrieval source ('find', 'fetch', 'hybrid', 'timeline', 'budget') * @param tokensUsed - Estimated tokens consumed (optional) * @param sessionId - Session ID for grouping retrievals by session (optional, soft FK to tasks.db) */ export declare function logRetrieval(projectRoot: string, query: string, entryIds: string[], source: string, tokensUsed?: number, sessionId?: string): Promise; //# sourceMappingURL=log-retrieval.d.ts.map