import { AdditionalPhonemeInfo, EmotionBehaviorCode } from '@inworld/web-core'; import { Object3D, Object3DEventMap } from 'three'; import { GLTF } from 'three-stdlib'; import { GLTFAnimationLoader } from '../loaders/GLTFAnimationLoader'; import { GLTFModelLoader } from '../loaders/GLTFModelLoader'; import { JSONFileLoader } from '../loaders/JSONFileLoader'; import { RPMAnimator } from './animator/RPMAnimator'; import { RPMConfiguration } from './RPMConfiguration'; export type RPMProps = { baseURI: string; configURI: string; dracoURI: string; onLoad: Function; onProgress: Function; }; export declare class RPM { animationLoaders: { [key: string]: GLTFAnimationLoader; }; animationsTalking: string[]; animator: RPMAnimator | null; baseURI: string; config: RPMConfiguration | null; configFile: JSONFileLoader; configURI: string; dracoURI: string; modelFile: GLTFModelLoader | null; onLoad: Function; onProgress: Function; constructor(props: RPMProps); init(): void; getGLTF(): GLTF; getModel(): Object3D; getScene(): import("three").Group; loadAnimations(): void; loadConfig(): void; loadModel(): void; playAnimation(animation: string): void; onLoadAnimations(): void; onLoadComplete(): void; onLoadConfig(config: RPMConfiguration): void; onLoadModel(): void; onLoadProgress(progress: number): void; setEmotion(event: EmotionBehaviorCode): void; setPhonemes(phonemes: AdditionalPhonemeInfo[]): void; updateFrame(delta: number): void; }