export = Decoder; declare function Decoder(): void; declare class Decoder { buffer: string | undefined; write(str: any): string; reset(): void; }