declare module 'ammojs3' {
    export default function (): Promise<{
      btDefaultCollisionConfiguration: new () => any;
      btCollisionDispatcher: new (config: any) => any;
      btDbvtBroadphase: new () => any;
      btSequentialImpulseConstraintSolver: new () => any;
      btDiscreteDynamicsWorld: new (dispatcher: any, broadphase: any, solver: any, config: any) => any;
      btVector3: new (x: number, y: number, z: number) => any;
      btQuaternion: new (x: number, y: number, z: number, w: number) => any;
      btTransform: new () => any;
      btBoxShape: new (vector: any) => any;
      btRigidBodyConstructionInfo: new (mass: number, motionState: any, shape: any, inertia: any) => any;
      btRigidBody: new (rbInfo: any) => any;
      btDefaultMotionState: new (transform: any) => any;
      destroy: (obj: any) => void;
      // Add more methods as needed
    }>;
  }