/** * For a JSON array that gets too large to load in one go, this class * helps break it up into chunks and provides an * async API for using the information in the array. */ export default class LazyArray { constructor({ urlTemplate, chunkSize, length, cacheSize, readFile }: { urlTemplate: any; chunkSize: any; length: any; cacheSize?: number | undefined; readFile: any; }, baseUrl: any); range(start: any, end: any): AsyncGenerator; getChunk(chunkNumber: any): Promise; filterChunkData(queryStart: any, queryEnd: any, chunkNumber: any, chunkData: any): Generator; }