Rewrite frontend as single self-contained HTML file — all CSS/JS inline, no external files to fail loading
This commit is contained in:
21
dist/utils/processor.d.ts
vendored
Normal file
21
dist/utils/processor.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { VisionProvider, TTSProvider, Stats, ProcessingResult, ProcessingOptions } from '../interfaces';
|
||||
import { Config } from '../config/config';
|
||||
/**
|
||||
* High-level API: Generate audio description for a video with just options.
|
||||
* This internally creates providers and stats so callers don't need to.
|
||||
*
|
||||
* @param videoFilePath - Path to the input video file
|
||||
* @param options - Optional configuration overrides
|
||||
* @returns Result of the operation
|
||||
*/
|
||||
export declare function generateAudioDescriptionFromOptions(videoFilePath: string, options?: Partial<Config>, processingOptions?: ProcessingOptions): Promise<ProcessingResult>;
|
||||
/**
|
||||
* Generate audio description for a video (low-level API requiring pre-initialized providers).
|
||||
* @param videoFilePath - Path to the input video file
|
||||
* @param visionProvider - Vision provider instance
|
||||
* @param ttsProvider - TTS provider instance
|
||||
* @param options - Optional configuration overrides
|
||||
* @param stats - Stats object for tracking
|
||||
* @returns Result of the operation
|
||||
*/
|
||||
export declare function generateAudioDescription(videoFilePath: string, visionProvider: VisionProvider, ttsProvider: TTSProvider, options: Partial<Config> | undefined, stats: Stats, processingOptions?: ProcessingOptions): Promise<ProcessingResult>;
|
||||
Reference in New Issue
Block a user