export interface JsonStream { pullAsync(numBytes: number): Promise>; pullSync(numBytes: number): Partial; done(): boolean; eof(): boolean; result: Partial; } export declare function JsonStream(blob: Blob): JsonStream; export declare function JsonParser(allowPartial: boolean): { write(jsonPart: string): any; done(): boolean; };