import { SharedSoftBodyBuffers, SoftBodyConfig, SoftBodyType } from "../../lib/types";
import { World } from "./world";
export declare class SoftBody {
    world: World;
    buffers: SharedSoftBodyBuffers;
    physicsBody: Ammo.btSoftBody;
    numVerts: number;
    type: SoftBodyType;
    mass: number;
    constructor(world: World, buffers: SharedSoftBodyBuffers, { type, mass, margin, clusters, viterations, piterations, friction, damping, pressure, linearStiffness, angularStiffness, volumeStiffness, collisionFilterGroup, collisionFilterMask, collisionFlag, randomizeConstraints, activationState, anchors, }: SoftBodyConfig);
    updateConfig(config: SoftBodyConfig): void;
    copyStateToBuffer(): void;
    destroy(): void;
}
