import * as THREE from '@anov/3d-core'; import type BasicCharacterControllerInput from '../action/input'; import type { CharacterAnimationType } from '../type'; interface PropsType { animations: CharacterAnimationType; input: BasicCharacterControllerInput; } export default class Character_animation { animations: CharacterAnimationType; input: BasicCharacterControllerInput; preventAction: boolean; fsm: any; attackStack: number; constructor({ animations, input }: PropsType); handleAnimation(): void; handleLeftClick(): void; handleRoll(): void; handlePunch(state: 'hit' | 'hitSecond'): void; handleTrans(): void; getAction(state?: keyof typeof this.animations): { stateKey: keyof CharacterAnimationType; stateAction: THREE.AnimationAction; prevStateKey: keyof CharacterAnimationType; prevStateAction: THREE.AnimationAction; }; update(deltaT: number): void; } export {};