subkit
Version:
The subtitles toolkit for converting between SRT, WebVTT, and FCPXML
15 lines (14 loc) • 463 B
TypeScript
import { SubFcpxml, SubLike } from '../types.js';
export declare const fcpxmlToData: (text: string) => SubFcpxml;
export type DataToFcpxmlOptions = {
name?: string;
font?: string;
fontSize?: string;
fontFace?: string;
fontColor?: string;
bold?: string;
shadowColor?: string;
shadowOffset?: string;
alignment?: string;
};
export declare const dataToFcpxml: (data: SubLike, fps: number, options?: DataToFcpxmlOptions) => string;