/* tslint:disable */ /* eslint-disable */ /** * Get the byte position where the header ends (first data container starts) * * # Arguments * * `data` - The CRAM file data (only needs first ~64KB typically) */ export function get_header_length(data: Uint8Array): bigint; export function init_panic_hook(): void; export function parse_crai_index(data: Uint8Array): any; export function parse_cram_file(data: Uint8Array): any; /** * Parse a CRAM file with reference sequences provided * * # Arguments * * `data` - The CRAM file data as bytes * * `references` - Array of {name: string, sequence: string} objects */ export function parse_cram_file_with_references(data: Uint8Array, references: any): any; /** * Parse records from a specific region of a CRAM file * * This function is designed for indexed access. It takes: * - header_data: The CRAM file from start up to the first data container * - container_data: The bytes of the container(s) to parse * - references: Reference sequences needed for decoding * * # Arguments * * `header_data` - Bytes from file start through header container * * `container_data` - Bytes of the data container(s) to parse * * `references` - Array of {name: string, sequence: string} objects */ export function parse_cram_records_from_container(header_data: Uint8Array, container_data: Uint8Array, references: any): any; export function parse_header(data: Uint8Array): any;