import IntTypes from './interface-types/int-types.js'; import FloatTypes from './interface-types/float-types.js'; import type TypedArray from './typed-array.js'; declare function bufferToTypedArray(wasmType: (typeof IntTypes)[keyof typeof IntTypes] | (typeof FloatTypes)[keyof typeof FloatTypes] | 'null' | null, buffer: ArrayBuffer | SharedArrayBuffer): null | TypedArray; export default bufferToTypedArray;