export type GoogleGenerativeAIPrompt = Array; export type GoogleGenerativeAIContent = { role: 'user' | 'model'; parts: Array; }; export type GoogleGenerativeAIContentPart = | { text: string } | { inlineData: { mimeType: string; data: string; }; } | { functionCall: { name: string; args: unknown; }; } | { functionResponse: { name: string; response: unknown; }; } | { fileData: { mimeType: string; fileUri: string; }; };