/** * General AI SDK compatible types */ export interface TextPart { type: 'text'; text: string; } export interface ToolCallPart { type: 'tool-call'; toolCallId: string; toolName: string; args: any; } export type LanguageModelV2ToolResultOutput = { type: 'text'; value: string; } | { type: 'json'; value: any; } | { type: 'error-text'; value: string; } | { type: 'error-json'; value: any; } | { type: 'content'; value: Array<{ type: 'text'; text: string; } | { type: 'media'; data: string; mediaType: string; }>; }; export interface ToolResultPart { type: 'tool-result'; toolCallId: string; toolName: string; output: LanguageModelV2ToolResultOutput; providerOptions?: any; } export type UserContent = string | Array; export type AssistantContent = string | Array; export type ToolContent = Array; export interface AISDKMessage { messageId: string; role: 'system' | 'user' | 'assistant' | 'tool'; content: string | UserContent | AssistantContent | ToolContent; timestamp?: number; conversationId?: string; messageOrder: number; } export interface ConversationExtractResult { conversationId: string; messages: AISDKMessage[]; totalMessages: number; } export interface UploadJob { oscarChatId: string; platform: string; timestamp: number; } export declare enum UploadStatus { PENDING = "pending", PROCESSING = "processing", COMPLETED = "completed", FAILED = "failed" } //# sourceMappingURL=types.d.ts.map