import type { VideoBackend } from './types.js'; export type VideoBackendType = 'auto' | 'dashscope' | 'comfyui'; export { VideoBackend, VideoParams, VideoResult } from './types.js'; export { DashScopeVideoBackend } from './video-dashscope.js'; /** * 获取 DashScope API Key(优先环境变量,其次配置文件) */ export declare function getDashScopeApiKey(): string | undefined; /** * 获取视频生成后端 * * - auto: 有 DashScope API Key 则用 DashScope,否则用 ComfyUI * - dashscope: 强制使用 DashScope(需要 API Key) * - comfyui: 强制使用 ComfyUI * * API Key 优先级: 环境变量 DASHSCOPE_API_KEY > 配置文件 dashscope.apiKey */ export declare function getVideoBackend(type?: VideoBackendType): VideoBackend; /** * 获取当前会使用的视频后端名称 */ export declare function getCurrentVideoBackendName(type?: VideoBackendType): 'dashscope' | 'comfyui'; //# sourceMappingURL=video-index.d.ts.map