/** * Capture attribution, then register a retrieval-log write. * @param projectRoot - Explicit owning project root. * @param query - Original search query or exact fetched identity list. * @param entryIds - Returned evidence identities copied before asynchronous work. * @param source - Existing retrieval path label retained in the log. * @param tokensUsed - Existing estimated token count, without recalculating policy. * @returns Completion of session capture and scheduling, not a durable telemetry receipt. * @remarks Reads are pure (T13947): only `brain_retrieval_log` is written, * never the returned memory rows. Bumping `citation_count`/`updated_at` on every * read made whatever ranked first get cited, promoted and ranked again. The * writer retains the original operation lifetime; no global session is resolved * after scheduling; underlying telemetry failures remain best-effort. * @example * ```ts * await scheduleRetrievalTelemetry(projectRoot, 'auth', ['O-example'], 'find', 50); * ``` */ export declare function scheduleRetrievalTelemetry(projectRoot: string, query: string, entryIds: string[], source: string, tokensUsed: number): Promise; //# sourceMappingURL=telemetry.d.ts.map