@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
32 lines (31 loc) • 1.03 kB
TypeScript
/**
* Video Analysis Processor
*
* Formats video analysis results into human-readable text
*
* @module utils/videoAnalysisProcessor
*/
import type { ModelMessage } from "ai";
import { AIProviderName } from "../constants/enums.js";
/**
* Check if messages contain video frames (images)
* Only checks user messages to match buildContentParts behavior
*
* @param messages - Array of ModelMessage objects
* @returns true if video frames are present in user messages
*/
export declare function hasVideoFrames(messages: ModelMessage[]): boolean;
/**
* Execute video analysis on messages containing video frames
*
* @param messages - Array of ModelMessage objects with video frames
* @param options - Video analysis options
* @returns Video analysis text result
* @throws Error if analysis fails
*/
export declare function executeVideoAnalysis(messages: ModelMessage[], options: {
provider?: AIProviderName | string;
providerName?: AIProviderName;
region?: string;
model?: string;
}): Promise<string>;