@aim-packages/subtitle 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -0
- package/dist/index.cjs.js +43 -28
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +975 -897
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -339,6 +339,8 @@ declare function chunkArrayStrings(strings: string[], characterLimit: number): s
|
|
|
339
339
|
reverse?: boolean;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
+
declare function outputTxt({ segments1, segments2, speakerData, locale, useIndex, useTimestamp, useParagraph }: OutputTextParams): string;
|
|
343
|
+
|
|
342
344
|
declare function outputVtt({ segments1, segments2, speakerData }: OutputTextParams): string;
|
|
343
345
|
|
|
344
346
|
/**
|
|
@@ -625,6 +627,7 @@ declare function chunkArrayStrings(strings: string[], characterLimit: number): s
|
|
|
625
627
|
outputSrt,
|
|
626
628
|
outputVtt,
|
|
627
629
|
outputLrc,
|
|
630
|
+
outputTxt,
|
|
628
631
|
outputAss
|
|
629
632
|
}
|
|
630
633
|
}
|