/** * BRAIN Fetch — Layer 3 retrieval: batch-fetch full entry details by IDs. * * @task T5133 * @epic T5149 */ import type { FetchBrainEntriesParams, FetchBrainEntriesResult } from '@cleocode/contracts'; /** * Batch-fetch full details by IDs. * Groups IDs by prefix to query the correct tables via BrainDataAccessor. * * @param projectRoot - Project root directory * @param params - Fetch parameters with IDs * @returns Full entry data for each found ID, plus not-found list * @remarks Captures explicit ownership and inherited operation lifetime before reads. * The retrieval-log write is registered before return; callers can await the * existing background barrier. Fetched rows are never written (T13947). Optional * telemetry has no durable outcome receipt. * @example * ```ts * const result = await fetchBrainEntries(projectRoot, { ids: ['O-example'] }); * ``` */ export declare function fetchBrainEntries(projectRoot: string, params: FetchBrainEntriesParams): Promise; //# sourceMappingURL=fetch.d.ts.map