import { Settings } from '../../settings'; import { Memory } from '../../utils'; import { Body } from '../body'; import { JointInterface, ConstraintsSolverInterface } from '../types'; export declare class WorldIsland { private readonly settings; private readonly solver; private readonly memory; private readonly bodies; private readonly constraints; private readonly stack; private id; private positions; private velocities; private forces; private invMasses; private accelerations; private _sleeping; private readonly bodyPosition; private readonly bodyVelocity; constructor(settings: Settings, solver: ConstraintsSolverInterface, memory: Memory); get sleeping(): boolean; get empty(): boolean; setId(id: number): void; addBody(body: Body): void; addJoint(joint: JointInterface): void; clear(): void; step(dt: number): void; private solve; private integrate; private serializeBodies; private arraysToBodies; }