UNPKG

@diffusionstudio/core-v4

Version:

2D motion graphics and video rendering engine

12 lines (11 loc) 513 B
import { Timestamp, Transcript, GeneratorOptions } from '../models'; import { CaptionPreset } from './preset'; import { SingleColorCaptionPresetConfig } from './interfaces'; import { Layer } from '../layer'; import { hex } from '../types'; export declare class WhisperCaptionPreset extends CaptionPreset { generatorOptions: GeneratorOptions; color: hex; constructor(config?: Partial<SingleColorCaptionPresetConfig>); apply(layer: Layer, transcript: Transcript, delay: Timestamp): Promise<void>; }