import { BodyInterface, WorldInterface, ConstraintInterface, JointInterface } from '../types'; export interface MotorDef { body: Readonly; speed?: number; torque?: number; } export declare class MotorJoint implements JointInterface { readonly world: WorldInterface; readonly bodyA: Readonly; readonly speed: number; readonly torque: number; readonly bodyB: Readonly; private readonly motorConstraint; constructor(world: WorldInterface, bodyA: Readonly, speed: number, torque: number); [Symbol.iterator](): Iterator; }