UNPKG

@mastra/core

Version:
7 lines • 491 B
import type { LanguageModelV2FilePart, LanguageModelV2TextPart } from '../../../_types/@ai-sdk_provider@2.0.5/dist/index.js'; import type { ImagePart, FilePart } from '../../../_types/@internal_ai-sdk-v5@0.0.98/dist/index.js'; export declare function convertImageFilePart(part: ImagePart | FilePart, downloadedAssets?: Record<string, { mediaType: string | undefined; data: Uint8Array; }>): LanguageModelV2TextPart | LanguageModelV2FilePart; //# sourceMappingURL=convert-file.d.ts.map