import StreamrClient, { MessageListener, Stream } from 'streamr-client';
/**
 * A class that subscribes to all partitions of a Streamr stream.
 */
export declare class BroadbandSubscriber {
    private readonly client;
    private readonly stream;
    private readonly partitions;
    private readonly subscriptions;
    constructor(client: StreamrClient, stream: Stream);
    subscribe(onMessage: MessageListener): Promise<void>;
    unsubscribe(): Promise<void>;
}
