/// import { Transform } from 'stream'; export declare class JSONParser extends Transform { private enc; private parser; constructor(); _flush(callback: () => void): void; private reset; private onError; private onValue; _transform(chunk: any, _encoding: any, callback: () => void): void; } export declare function parseJSON(json: string): undefined;