echogarden
Version:
An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.
11 lines • 508 B
TypeScript
import { EncodeIntoResult } from "./TextEncodingsCommon.js";
export declare function encodeUtf16(text: string): Uint16Array<ArrayBuffer>;
export declare function encodeUtf16Into(text: string, resultBuffer: Uint16Array): EncodeIntoResult;
export declare function decodeUtf16(encodedString: Uint16Array): string;
export declare class ChunkedUtf16Decoder {
private str;
private readonly textDecoder;
writeChunk(chunk: Uint16Array): void;
toString(): string;
}
//# sourceMappingURL=Utf16.d.ts.map