import type { AnchorStore } from '../compress/anchor.js'; import type { Finding } from '../compress/knowledge.js'; import type { Tuning } from '../compress/options.js'; import type { CompressionFacts } from './accounting.js'; /** Reuse bounded tool-output compression; never send Responses fields to Chat. * Only string tool results are eligible. All other message and provider fields * remain exact, including reasoning, multimodal parts, tools and call metadata. */ export declare function compressChatCompletions(body: Buffer, request: Record, spill: (content: string, hint: string) => string, anchors?: AnchorStore, findings?: readonly Finding[], tuning?: Tuning, sharedGraph?: boolean): { body: Buffer; summary: CompressionFacts; }; //# sourceMappingURL=chat-completions.d.ts.map