/** * PhysicsBody is an abstract base class for implementing a physics body. All *Body types inherit from it. * */ declare class PhysicsBody extends CollisionObject { /** * PhysicsBody is an abstract base class for implementing a physics body. All *Body types inherit from it. * */ new(): PhysicsBody; static "new"(): PhysicsBody /** Adds a body to the list of bodies that this body can't collide with. */ add_collision_exception_with(body: Node): void; /** Returns an array of nodes that were added as collision exceptions for this body. */ get_collision_exceptions(): any[]; /** Removes a body from the list of bodies that this body can't collide with. */ remove_collision_exception_with(body: Node): void; connect>(signal: T, method: SignalFunction): number; }