import { vec2 } from 'gl-matrix'; import { BodyInterface, WorldInterface, JointInterface, ConstraintInterface, MouseControlInterface } from '../types'; export interface MouseJointDef { control: MouseControlInterface; body: Readonly; joint: Readonly; stiffness?: number; maxForce?: number; } export declare class MouseJoint implements JointInterface { readonly world: WorldInterface; readonly control: MouseControlInterface; readonly bodyA: Readonly; readonly joint: Readonly; readonly stiffness: number; readonly maxForce: number; readonly bodyB: BodyInterface; private mouseXConstraint; private mouseYConstraint; constructor(world: WorldInterface, control: MouseControlInterface, bodyA: Readonly, joint: Readonly, stiffness: number, maxForce: number); [Symbol.iterator](): Iterator; }