/** * Visual Model Client — 视觉模型调用客户端 * * 支持多提供商切换: * - qwen-vl: 阿里云 DashScope(默认) * - openai: OpenAI GPT-4o * - anthropic: Claude 3.5 Sonnet * - local: 本地模型(OpenAI 兼容格式) */ export interface VisualModelConfig { provider: 'qwen-vl' | 'openai' | 'anthropic' | 'local'; model?: string; apiKey?: string; endpoint?: string; timeout?: number; } export interface VisualModelResult { passed: boolean; analysis: string; issues: Array<{ severity: 'error' | 'warning' | 'info'; description: string; region?: string; }>; } export declare function callVisualModel(config: VisualModelConfig, options: { scenarioName: string; currentImageBase64: string; baselineImageBase64?: string; threshold: 'strict' | 'normal' | 'loose'; /** 自定义判定 prompt(v8.3.350+):提供时替代内置 UI 质量扫描/对比 prompt(业务断言等场景) */ customPrompt?: string; }): Promise; export declare function isVisualModelAvailable(config?: VisualModelConfig): Promise; //# sourceMappingURL=visual-model-client.d.ts.map