export declare class MockStream {
    streamContent: Uint8Array[];
    totalBytes: number;
    readStreamEndCallback: () => void;
    writeStreamFinishCallback: () => void;
    dataCallback: (chunk: Uint8Array) => void;
    constructor(streamContent?: Uint8Array);
    readStreamData(callback: (data: Uint8Array) => void): void;
    /** In a read stream, 'end' is only emitted and not called */
    readStreamEnd(): void;
    /** In a write stream, 'end' is called and not emitted */
    end(callback: () => void): void;
    writeStreamFinish(): void;
    /** write a chunk of data (byte array) to memory, and call callback */
    write(chunk: Uint8Array, callback: () => void): boolean;
    on(item: string, callback: () => void): void;
}
//# sourceMappingURL=mock-stream.d.ts.map