import type { GatewayModelRoute, GatewayProviderContext, GatewayProviderMetadata, GatewayStreamRequest } from "@cline/shared"; /** * Bedrock's Converse API expresses prompt-cache checkpoints as dedicated * `cachePoint` content blocks. `@ai-sdk/amazon-bedrock` only emits them from * `providerOptions.bedrock.cachePoint` markers and silently drops the * Anthropic `cache_control` dialect, so Bedrock needs its own prompt-cache * wire format. */ export declare const BEDROCK_ROUTING_METADATA: GatewayProviderMetadata; export declare function resolveBedrockCachePointRoute(request: GatewayStreamRequest, context: GatewayProviderContext): GatewayModelRoute | undefined; export declare function shouldApplyBedrockCachePoint(request: GatewayStreamRequest, context: GatewayProviderContext): boolean; export declare function createBedrockCachePointProviderOptions(): { bedrock: { cachePoint: { type: "default"; }; }; }; /** * Attach a message-level cache-point marker to the last user message. The * Bedrock message converter appends the `cachePoint` block after that * message's content, caching the whole prefix (tools, system, and history) * up to it — mirroring the Anthropic writer's checkpoint placement. */ export declare function applyBedrockCachePointToLastUserMessage(messages: Array>): void; //# sourceMappingURL=bedrock-cache-point.d.ts.map