import { vec2 } from 'gl-matrix'; import { BodyInterface, ConstraintClamping, WorldInterface } from '../types'; import { ConstraintBase } from './constraint.base'; export declare class ContactConstraint extends ConstraintBase { readonly world: WorldInterface; readonly bodyA: Readonly; readonly bodyB: Readonly; readonly joint: vec2; readonly normal: vec2; penetration: number; constructor(world: WorldInterface, bodyA: Readonly, bodyB: Readonly, joint: vec2, normal: vec2, // normal at bodyA penetration: number); getJacobian(out: Float32Array): void; getPushFactor(dt: number, strength: number): number; getClamping(): ConstraintClamping; setPenetration(penetration: number): void; patch(point: vec2, penetration: number): void; private getCDot; }