import type { BodyDescriptor, BodyState, ConstraintDescriptor } from '@rapierphysicsplugin/shared'; import type { PhysicsWorldContext } from './pw-types.js'; export declare function getSnapshot(ctx: PhysicsWorldContext, skipSleeping?: boolean): BodyState[]; export declare function getBodyState(ctx: PhysicsWorldContext, id: string): BodyState | null; export declare function isBodySleeping(ctx: PhysicsWorldContext, id: string): boolean; export declare function loadState(ctx: PhysicsWorldContext, bodies: BodyDescriptor[]): void; export declare function resetWorld(ctx: PhysicsWorldContext, bodies: BodyDescriptor[], constraints?: ConstraintDescriptor[]): void; export declare function hasBody(ctx: PhysicsWorldContext, id: string): boolean; export declare function getBodyCount(ctx: PhysicsWorldContext): number; //# sourceMappingURL=pw-state.d.ts.map