@openanime/ass2esl
Version:
Utilities to convert Advanced SubStation Alpha (ASS) to Expressive Subtitle Language (ESL)
14 lines (12 loc) • 469 B
TypeScript
/**
* Converts a string of ASS subtitle content into ESL (Example Subtitle Language) format.
*
* This function processes the `info`, `styles`, and `dialogues` sections of the ASS file,
* converting them into their ESL equivalents.
*
* @param assContent - The full string content of the ASS file.
* @returns The generated ESL content as a single string.
*
*/
declare function convertASStoESL(assContent: string): string;
export { convertASStoESL as default };