import type { LLMClient, ChatParams, ChatResponse } from "./types.js"; /** * LLMClient implementation that wraps the Anthropic SDK. * * Converts ToolDef[] to Anthropic.Messages.Tool[] before each request, * converts provider-agnostic Message[] (including tool call/result variants) * to Anthropic MessageParam[], and normalizes Anthropic responses to * ChatResponse after each call. * * When promptCaching is enabled (the default), attaches ephemeral * cache_control breakpoints to the system prompt and up to the last 3 * messages (system-and-last-3 strategy, capped at 4 breakpoints total). */ export declare class AnthropicAdapter implements LLMClient { private readonly client; private readonly promptCaching; constructor(apiKey?: string, opts?: { promptCaching?: boolean; }); chat(params: ChatParams): Promise; } //# sourceMappingURL=anthropic.d.ts.map