import { vec2 } from 'gl-matrix'; import { BodyInterface, ConstraintClamping, WorldInterface } from '../types'; import { ConstraintBase } from './constraint.base'; export declare class DistanceConstraint extends ConstraintBase { readonly world: WorldInterface; readonly bodyA: BodyInterface; readonly jointA: vec2; readonly bodyB: BodyInterface; readonly jointB: vec2; readonly distance: number; protected readonly pa: vec2; protected readonly pb: vec2; protected readonly pbpa: vec2; protected readonly ra: vec2; protected readonly rb: vec2; constructor(world: WorldInterface, bodyA: BodyInterface, jointA: vec2, bodyB: BodyInterface, jointB: vec2, distance: number); getJacobian(out: Float32Array): void; getPushFactor(dt: number, strength?: number): number; getClamping(): ConstraintClamping; }