/**
 * Node.js stream/consumers shim
 * Consumes readable inputs into text, buffers, JSON, ArrayBuffers, or Blobs.
 */
import { Buffer } from './stream';
export declare function buffer(stream: unknown): Promise<InstanceType<typeof Buffer>>;
export declare function arrayBuffer(stream: unknown): Promise<ArrayBuffer>;
export declare function text(stream: unknown): Promise<string>;
export declare function json(stream: unknown): Promise<unknown>;
export declare function blob(stream: unknown): Promise<Blob>;
declare const streamConsumersModule: {
    text: typeof text;
    buffer: typeof buffer;
    arrayBuffer: typeof arrayBuffer;
    json: typeof json;
    blob: typeof blob;
};
export default streamConsumersModule;
//# sourceMappingURL=stream-consumers.d.ts.map