/** * @holoscript/core Island Detector * * Groups interacting rigid bodies into 'islands'. * Used for hierarchical sleeping and parallel solving. */ export interface BodyConnection { bodyA: string; bodyB: string; } export declare class IslandDetector { private bodies; private connections; /** * Reset the detector state */ reset(): void; /** * Add a body to the graph */ addBody(id: string): void; /** * Add a connection (collision or constraint) between bodies */ addConnection(bodyA: string, bodyB: string): void; /** * Detect islands using a Disjoint Set Union (DSU) or BFS */ detectIslands(): string[][]; } //# sourceMappingURL=IslandDetector.d.ts.map