import type { JsonObject, ProviderRequest } from "@arnilo/prism"; /** * Official Messages `thinking` object. Request `options.compat.thinking` wins over model default. * Hosts pass `{ type: "enabled", budget_tokens }` (Haiku 4.5 / older) or `{ type: "adaptive" }` * (Opus 4.8 / Sonnet 5 / Fable 5). Boolean true → `{ type: "enabled" }` (caller must add budget). */ export declare function anthropicThinking(request: ProviderRequest): JsonObject | undefined; /** * Official Messages `effort` (adaptive thinking depth). Request wins over model default. * Accepts `compat.effort` or portable `compat.reasoning_effort`. */ export declare function anthropicEffort(request: ProviderRequest): string | undefined; /** * Whether to replay historical thinking blocks (with signatures) on the next request. * Request `compat.preserveThinking` wins; defaults true when the model declares reasoning. */ export declare function anthropicPreserveThinking(request: ProviderRequest): boolean; /** * Strip provider-owned compat keys before opaque body spread. */ export declare function stripAnthropicOwnedCompat(compat: JsonObject | undefined): JsonObject;