/** Tracing a recommendation back to upstream records, from the package alone. */ type Json = Record; export interface UpstreamRecordTrace { call_id: string; connector: string; tool: string; provider: string; grant_id: string; record_id: string; record_type?: string; retrieved_at: string; cited_by: string[]; } /** * Every upstream record behind a recommendation: follows the recommendation's * section citations and those of its policy evaluation to the tool calls that * retrieved each record. One item per distinct (call, record), ordered by * entry sequence then record position. Call on a verified package; throws for * an unknown recommendation. */ export declare function upstreamRecordsFor(document: Json, recommendationId: string): UpstreamRecordTrace[]; export {}; //# sourceMappingURL=trace.d.ts.map