import type { Api, Message, Model } from "@bastani/pi-ai/compat"; /** * Restore same-model Anthropic replay thinking blocks after provider payload * construction and extension payload hooks. * * Anthropic requires thinking/redacted_thinking blocks from replayed assistant * messages to remain byte-for-byte identical to the original response. The * upstream pi-ai Anthropic converter can sanitize thinking text and drop signed * empty thinking. convertToLlm normalizes raw redacted_thinking blocks in its * transient, non-mutating LLM-compatible messages before this hook, then this guard * restores exact same-model payloads while leaving non-Anthropic and cross-model * payloads unchanged. */ export declare function restoreAnthropicReplayThinkingBlocks(payload: unknown, sourceMessages: readonly Message[], model: Model): unknown; //# sourceMappingURL=anthropic-thinking-guard.d.ts.map