import { vec3 } from 'gl-matrix'; export interface CollisionResult { pos: vec3; vel: vec3; collided: boolean; normal: vec3; penetration: number; } /** * Checks for collision between two spheres. */ export declare function checkSphereSphereCollision(posA: vec3, radiusA: number, posB: vec3, radiusB: number): boolean; /** * Resolves a collision between a sphere (player/ball) and an axis-aligned box (AABB). * Updates and returns the position and velocity after resolving penetration and friction. */ export declare function resolveSphereBoxCollision(spherePos: vec3, sphereVel: vec3, sphereRadius: number, boxCenter: vec3, boxSize: vec3, restitution?: number): CollisionResult; //# sourceMappingURL=physics.d.ts.map