import { type ChatCompletionToolCallWithExtraContent } from '../../../services/chatState'; export declare const GEMINI_THOUGHT_SIGNATURE_VALIDATOR_BYPASS = "skip_thought_signature_validator"; export declare function isGeminiModel(modelName: string): boolean; /** * Gemini cannot re-pair the proxy-synthesized ids of multiple parallel tool * calls replayed in one turn, so a Gemini multi-call turn is recorded as * sequential single-call turns (so each function-call turn has exactly one * matching response). */ export declare function shouldSerializeGeminiToolCalls(modelName: string, toolCalls: ChatCompletionToolCallWithExtraContent[]): boolean; /** * Gemini signs only the first parallel call, and a call restored from a * previous run carries no signature at all; both replay with the documented * validator-bypass marker. A call that kept its real signature echoes it * verbatim. */ export declare function withThoughtSignatureFallback(toolCall: ChatCompletionToolCallWithExtraContent): ChatCompletionToolCallWithExtraContent;