import { IoSource } from '@wowserhq/io'; import { M2_BONE_FLAG, M2_MODEL_FLAG } from './const.js'; import { M2Sequence, M2Track, M2TextureTransform, M2TextureWeight, M2Color, M2Bone } from './types.js'; import M2Texture, { M2_TEXTURE_COMBINER, M2_TEXTURE_COORD } from './M2Texture.js'; import M2Material from './M2Material.js'; import M2Bounds from './M2Bounds.js'; declare class M2Model { #private; get bones(): M2Bone[]; get boneIndicesById(): Uint16Array; get bounds(): M2Bounds; get collisionBounds(): M2Bounds; get colors(): M2Color[]; get flags(): number; get loops(): Uint32Array; get materials(): M2Material[]; get name(): string; get sequences(): M2Sequence[]; get skinProfileCount(): number; get textures(): M2Texture[]; get textureCombos(): number[]; get textureCombinerCombos(): M2_TEXTURE_COMBINER[]; get textureCoordCombos(): M2_TEXTURE_COORD[]; get textureTransforms(): M2TextureTransform[]; get textureTransformCombos(): number[]; get textureWeights(): M2TextureWeight[]; get textureWeightCombos(): number[]; get vertices(): ArrayBuffer; load(source: IoSource): this; } export default M2Model; export { M2Model, M2Track, M2Bone, M2Color, M2Sequence, M2TextureWeight, M2TextureTransform, M2_BONE_FLAG, M2_MODEL_FLAG, };