import { vec2 } from 'gl-matrix'; import { BodyInterface, WorldInterface, JointInterface, ConstraintInterface } from '../types'; export interface RevoluteJointDef { bodyA: Readonly; pivotA?: Readonly; bodyB: Readonly; pivotB?: Readonly; minAngle?: number; maxAngle?: number; stiffness?: number; damping?: number; contacts?: boolean; } export declare class RevoluteJoint implements JointInterface { readonly world: WorldInterface; readonly bodyA: Readonly; readonly pivotA: Readonly; readonly bodyB: Readonly; readonly pivotB: Readonly; readonly minAngle: number; readonly maxAngle: number; readonly stiffness: number; readonly damping: number; private readonly constraints; constructor(world: WorldInterface, bodyA: Readonly, pivotA: Readonly, bodyB: Readonly, pivotB: Readonly, minAngle: number, maxAngle: number, stiffness: number, damping: number); [Symbol.iterator](): Iterator; }