GoogleAIAPI: {
    baseMessageToContent?: ((message: BaseMessage, prevMessage: BaseMessage | undefined, useSystemInstruction: boolean) => Promise<GeminiContent[]>);
    chunkToString: ((chunk: BaseMessageChunk) => string);
    formatData: ((input: unknown, parameters: GoogleAIModelRequestParams) => Promise<unknown>);
    messageContentToParts?: ((content: MessageContent) => Promise<GeminiPart[]>);
    responseToBaseMessage: ((response: GoogleLLMResponse) => BaseMessage);
    responseToChatGeneration: ((response: GoogleLLMResponse) => ChatGenerationChunk | null);
    responseToChatResult: ((response: GoogleLLMResponse) => ChatResult);
    responseToString: ((response: GoogleLLMResponse) => string);
}