UNPKG

js-tts-wrapper

Version:

A JavaScript/TypeScript library that provides a unified API for working with multiple cloud-based Text-to-Speech (TTS) services

7 lines (6 loc) 301 B
/** * Decompress a bzip2-compressed payload into a Uint8Array. * Works in both Node.js and browser environments by lazily loading * the seek-bzip implementation and a Buffer polyfill when necessary. */ export declare const decompressBzip2: (data: ArrayBuffer | Uint8Array) => Promise<Uint8Array>;