/** * Add the upstream requests behind a tool result to its `meta.sources` * (see src/shared/request-context.ts). */ import type { SourceRecord } from "../shared/request-context.js"; /** Most sources listed per result; composite tools can make dozens of requests. */ export declare const MAX_SOURCES = 10; /** * The result with `meta.sources` added: unique URLs, in request order, with * ISO fetch times and `cached: true` for cache hits. Results that aren't a * JSON object are returned unchanged. */ export declare function attachSources(result: unknown, sources: SourceRecord[], max?: number): unknown; //# sourceMappingURL=sources.d.ts.map