import { BBI } from './bbi.ts'; import type { RequestOptions } from './types.ts'; interface Index { type: number; fieldcount: number; offset: number; field: number; } /** * Parser for BigBed files. Inherits `getHeader`, `getFeatures`, and * `getFeaturesMulti` from `BBI`. * * Features have an additional `rest` field containing raw tab-delimited BED * columns 4+, and a `uniqueId` derived from the file offset. No zoom levels * are used for BigBed data. */ export declare class BigBed extends BBI { private indicesP?; readIndices(opts?: RequestOptions): Promise; protected getView(_scale: number, opts?: RequestOptions): Promise; private _readIndices; private searchExtraIndexBlocks; /** * Searches BigBed extra indexes (created via `-extraIndex` in `bedToBigBed`) * for a given name. A file may have multiple extra indexes, e.g. for gene ID * and gene name columns. * * @param name - value to look up in the extra index * @param opts - optional `RequestOptions` (e.g. `opts.signal` for abort) * @returns `Promise` — matching features with an added `field` * property indicating which extra-index column was matched */ searchExtraIndex(name: string, opts?: RequestOptions): Promise<{ field: number | undefined; offset?: number; chromId?: number; start: number; end: number; score?: number; rest?: string; minScore?: number; maxScore?: number; summary?: boolean; uniqueId?: string; }[]>; } export {};