import { LoggerFactory } from '../streamr/LoggerFactory';
import { GraphQLClient, GraphQLQuery } from './GraphQLClient';
export declare class SynchronizedGraphQLClient {
    private delegate;
    private requiredBlockNumber;
    private indexingState;
    constructor(loggerFactory: LoggerFactory, delegate: GraphQLClient);
    updateRequiredBlockNumber(blockNumber: number): void;
    sendQuery(query: GraphQLQuery): Promise<any>;
    fetchPaginatedResults<T extends {
        id: string;
    }>(createQuery: (lastId: string, pageSize: number) => GraphQLQuery, parseItems?: (response: any) => T[], pageSize?: number): AsyncGenerator<T, void, undefined>;
}
