import { Vector3 } from 'three'; /** * A contact point between two colliders. */ declare class ContactPoint { /** * The id of the body that owns the collider. */ bodyId: bigint; /** * The position of the contact point. */ position: Vector3; /** * The normal of the contact point. */ normal: Vector3; } /** * A collision event that occurred during the last physics simulation step. */ export declare class CollisionEvent { /** * The contact point on the first collider. */ contactOnA: ContactPoint; /** * The contact point on the second collider. */ contactOnB: ContactPoint; /** * The impulse applied to the colliders during the collision. */ impulseApplied: number; /** * Reads a CollisionEvent from a buffer. * @param buffer - The buffer to read from. * @param offset - The offset to start reading from. * @param eventOut - The CollisionEvent to read into. */ static readToRef(buffer: any, offset: number, eventOut: CollisionEvent): void; } export {};