import type { Api, Message, Model } from "@earendil-works/pi-ai";
/**
 * 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 currently still sanitizes thinking text,
 * drops signed empty thinking, and does not understand raw redacted_thinking
 * blocks. This guard repairs the already-built Anthropic payload from the
 * pre-provider LLM messages while leaving non-Anthropic and cross-model payloads
 * unchanged.
 */
export declare function restoreAnthropicReplayThinkingBlocks(payload: unknown, sourceMessages: readonly Message[], model: Model<Api>): unknown;
//# sourceMappingURL=anthropic-thinking-guard.d.ts.map