import { default as React } from 'react'; import { KeyFrame } from './interfaces'; import { MocapMoveEvent } from './MuJoCoMoCap'; import { TransformProps } from '@vuer-ai/vuer'; export type MuJoCoRef = { sim: any; model: any; state: any; mujoco: any; reset: () => void; }; export type MuJoCoModelProps = { _key?: string; frameKeys: string; visible: number[]; onLoad?: (frame: KeyFrame) => void; useLights?: boolean; useMocap?: boolean; showMocapFrame?: boolean; showSites?: boolean; showSiteFrame?: boolean; onMocapMove?: (props: MocapMoveEvent) => void; mocapMarkerScale?: number; mocapGizmoScale?: number; mocapHandleSize: number | [number, number, number]; mocapHandleWireframe?: boolean; } & KeyFrame; /** * MuJoCoModelProps * @param src This is the entry point of the MuJoCo model. * @param assets This is the list of assets that the model depends on. The prefix will be removed, * relative to the `src` file. * @param workDir This is the working directory of the model inside the webassembly runtime. */ export declare const MuJoCoModel: React.ForwardRefExoticComponent<{ _key?: string; frameKeys: string; visible: number[]; onLoad?: (frame: KeyFrame) => void; useLights?: boolean; useMocap?: boolean; showMocapFrame?: boolean; showSites?: boolean; showSiteFrame?: boolean; onMocapMove?: (props: MocapMoveEvent) => void; mocapMarkerScale?: number; mocapGizmoScale?: number; mocapHandleSize: number | [number, number, number]; mocapHandleWireframe?: boolean; } & KeyFrame & TransformProps & { children?: React.ReactNode | undefined; } & React.RefAttributes>;