import type { World } from '@dimforge/rapier3d-compat';
import { Object3D } from 'three';
import { CorePlayerPhysics } from './CorePlayerPhysics';
import { PhysicsLib } from '../CorePhysics';
import { PolyScene } from '../../../engine/scene/PolyScene';
export declare enum PhysicsPlayerType {
    CHARACTER_CONTROLLER = "characterController",
    TORQUE = "torque"
}
export declare function clearPhysicsPlayers(): void;
interface CreateOrFindPhysicsPlayerOptions {
    scene: PolyScene;
    object: Object3D;
    PhysicsLib: PhysicsLib;
    world: World;
    worldObject: Object3D;
}
export declare function createOrFindPhysicsPlayer(options: CreateOrFindPhysicsPlayerOptions): CorePlayerPhysics | undefined;
export declare function findPhysicsPlayer(object: Object3D): CorePlayerPhysics | undefined;
export {};
