import type { JsonObject, ProviderRequest } from "@arnilo/prism"; /** * Official K2.x Chat Completions / Anthropic-compat `thinking` object. * Request `options.compat.thinking` wins over `model.compat.thinking`. * @see https://platform.kimi.ai/docs/guide/use-kimi-k2-thinking-model */ export declare function kimiThinking(request: ProviderRequest): JsonObject | undefined; /** * Official K3 top-level `reasoning_effort`: `"low"` / `"high"` / `"max"`. * Open Platform default is `"max"`; Kimi Code default is `"high"`. * Request wins over model default. * @see https://platform.kimi.ai/docs/guide/use-thinking-effort */ export declare function kimiReasoningEffort(request: ProviderRequest): string | undefined; /** * Whether to replay historical thinking blocks (Anthropic `thinking` content or * Open Platform `reasoning_content`). K2.7-code / Coding models always preserve. * Request `compat.preserveThinking` wins over model default. */ export declare function kimiPreserveThinking(request: ProviderRequest): boolean; /** * Strip provider-owned compat keys so the opaque compat spread cannot leak * routing/serialization directives (or inverted thinking values) into wire bodies. */ export declare function stripKimiThinkingCompat(compat: JsonObject | undefined): JsonObject;