export function __wbg_set_wasm(val: any): void; /** * Get the byte position where the header ends (first data container starts) * * # Arguments * * `data` - The CRAM file data (only needs first ~64KB typically) * @param {Uint8Array} data * @returns {bigint} */ export function get_header_length(data: Uint8Array): bigint; export function init_panic_hook(): void; /** * @param {Uint8Array} data * @returns {any} */ export function parse_crai_index(data: Uint8Array): any; /** * @param {Uint8Array} data * @returns {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 * @param {Uint8Array} data * @param {any} references * @returns {any} */ 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 * @param {Uint8Array} header_data * @param {Uint8Array} container_data * @param {any} references * @returns {any} */ export function parse_cram_records_from_container(header_data: Uint8Array, container_data: Uint8Array, references: any): any; /** * @param {Uint8Array} data * @returns {any} */ export function parse_header(data: Uint8Array): any; export function __wbg_Error_52673b7de5a0ca89(arg0: any, arg1: any): Error; export function __wbg_String_8f0eb39a4a4c2f66(arg0: any, arg1: any): void; export function __wbg___wbindgen_boolean_get_dea25b33882b895b(arg0: any): 0 | 1 | 16777215; export function __wbg___wbindgen_debug_string_adfb662ae34724b6(arg0: any, arg1: any): void; export function __wbg___wbindgen_in_0d3e1e8f0c669317(arg0: any, arg1: any): boolean; export function __wbg___wbindgen_is_function_8d400b8b1af978cd(arg0: any): boolean; export function __wbg___wbindgen_is_object_ce774f3490692386(arg0: any): boolean; export function __wbg___wbindgen_is_undefined_f6b95eab589e0269(arg0: any): boolean; export function __wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d(arg0: any, arg1: any): boolean; export function __wbg___wbindgen_number_get_9619185a74197f95(arg0: any, arg1: any): void; export function __wbg___wbindgen_string_get_a2a31e16edf96e42(arg0: any, arg1: any): void; export function __wbg___wbindgen_throw_dd24417ed36fc46e(arg0: any, arg1: any): void; export function __wbg_call_abb4ff46ce38be40(...args: any[]): any; export function __wbg_done_62ea16af4ce34b24(arg0: any): any; export function __wbg_error_7534b8e9a36f1ab4(arg0: any, arg1: any): void; export function __wbg_get_6b7bd52aca3f9671(arg0: any, arg1: any): any; export function __wbg_get_af9dab7e9603ea93(...args: any[]): any; export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0: any, arg1: any): any; export function __wbg_instanceof_ArrayBuffer_f3320d2419cd0355(arg0: any): boolean; export function __wbg_instanceof_Uint8Array_da54ccc9d3e09434(arg0: any): boolean; export function __wbg_isArray_51fd9e6422c0a395(arg0: any): arg0 is any[]; export function __wbg_iterator_27b7c8b35ab3e86b(): symbol; export function __wbg_length_22ac23eaec9d8053(arg0: any): any; export function __wbg_length_d45040a40c570362(arg0: any): any; export function __wbg_new_1ba21ce319a06297(): Object; export function __wbg_new_25f239778d6112b9(): any[]; export function __wbg_new_6421f6084cc5bc5a(arg0: any): Uint8Array; export function __wbg_new_8a6f238a6ece86ea(): Error; export function __wbg_next_138a17bbf04e926c(arg0: any): any; export function __wbg_next_3cfe5c0fe2a4cc53(...args: any[]): any; export function __wbg_prototypesetcall_dfe9b766cdc1f1fd(arg0: any, arg1: any, arg2: any): void; export function __wbg_set_3f1d0b984ed272ed(arg0: any, arg1: any, arg2: any): void; export function __wbg_set_7df433eea03a5c14(arg0: any, arg1: any, arg2: any): void; export function __wbg_stack_0ed75d68575b0f3c(arg0: any, arg1: any): void; export function __wbg_value_57b7b035e117f7ee(arg0: any): any; export function __wbindgen_cast_2241b6af4c4b2941(arg0: any, arg1: any): string; export function __wbindgen_cast_4625c577ab2ec9ee(arg0: any): bigint; export function __wbindgen_cast_d6cd19b81560fd6e(arg0: any): any; export function __wbindgen_init_externref_table(): void;