import GziIndex from './gziIndex.ts'; import type { GenericFilehandle } from 'generic-filehandle2'; export default class BgzFilehandle { filehandle: GenericFilehandle; gzi: GziIndex; constructor({ filehandle, gziFilehandle, }: { filehandle: GenericFilehandle; gziFilehandle: GenericFilehandle; }); _readAndUncompressBlock(compressedPosition: number, nextCompressedPosition: number): Promise; read(length: number, position: number): Promise>; }