import { IAssetRow, ICollectionRow, IOfferRow, ISchemaRow, ITemplateRow } from './RpcCache'; import RpcApi from './index'; export default class RpcQueue { private readonly api; private readonly requestLimit; private elements; private interval; private preloadedCollections; constructor(api: RpcApi, requestLimit?: number); fetchAsset(owner: string, assetID: string, useCache?: boolean): Promise; fetchAccountAssets(account: string): Promise; fetchTemplate(collectionName: string, templateID: string, useCache?: boolean): Promise; fetchSchema(collectionName: string, schemaName: string, useCache?: boolean): Promise; fetchCollection(collectionName: string, useCache?: boolean): Promise; fetchCollectionSchemas(collectionName: string): Promise; fetchCollectionTemplates(collectionName: string): Promise; preloadCollection(collectionName: string, useCache?: boolean): Promise; fetchOffer(offerID: string, useCache?: boolean): Promise; fetchAccountOffers(account: string): Promise; private dequeue; private fetch_single_row; private fetch_all_rows; }