import { StreamRpcClient } from './makeStreamRpcClient';
import { UnpackEnvelopeOpts } from './sign';
import { StreamStateView } from './streamStateView';
export declare class UnauthenticatedClient {
    readonly rpcClient: StreamRpcClient;
    private readonly logCall;
    private readonly logEmitFromClient;
    private readonly logError;
    private readonly unpackEnvelopeOpts;
    private readonly userId;
    private getScrollbackRequests;
    constructor(rpcClient: StreamRpcClient, logNamespaceFilter?: string, opts?: UnpackEnvelopeOpts);
    userWithAddressExists(address: Uint8Array): Promise<boolean>;
    userExists(userId: string): Promise<boolean>;
    streamExists(streamId: string | Uint8Array): Promise<boolean>;
    getStream(streamId: string | Uint8Array): Promise<StreamStateView>;
    /**
     * @deprecated please use scrollbackByMs()
     **/
    scrollbackToDate(streamView: StreamStateView, toDate: number): Promise<void>;
    scrollbackByMs(streamView: StreamStateView, ms: number): Promise<void>;
    private scrollback;
    private getMiniblocks;
    private isWithin;
}
//# sourceMappingURL=unauthenticatedClient.d.ts.map