import type { CompletionRequest } from "../types.js"; import { type LlmProvider } from "./provider.js"; /** Output cap that always clears the requested thinking budget. */ export declare function anthropicMaxTokens(requested: number | undefined, thinking: Record | undefined): number; /** * Mark the end of the stable system prefix as a cache breakpoint. Anthropic's * cache render order is tools → system → messages, so this single breakpoint * caches both unchanged native tool schemas and the constitution. Mutable * request/workspace/plan state is carried only in later messages. */ export declare function anthropicSystemBlocks(system: string | undefined, requestContexts?: readonly string[]): string | Array> | undefined; export declare function buildAnthropicBody(request: CompletionRequest, stream: boolean): string; export declare const anthropicProvider: LlmProvider;