export interface Utf8StreamDecoder { decodeChunk(chunk: Uint8Array): string; flush(): string; } export declare function encodeUtf8(input: string): Uint8Array; export declare function utf8ByteLength(input: string): number; export declare function createUtf8StreamDecoder(): Utf8StreamDecoder;