import type { Vec3 } from '../math/vec3.js'; import { WaterLevel, type PmFlags, PmType } from './constants.js'; export interface CheckJumpParams { readonly pmFlags: PmFlags; readonly pmType: PmType; readonly buttons: number; readonly waterlevel: WaterLevel; readonly onGround: boolean; readonly velocity: Vec3; readonly origin: Vec3; readonly jumpHeight?: number; } export interface CheckJumpResult { readonly pmFlags: PmFlags; readonly onGround: boolean; readonly velocity: Vec3; readonly origin: Vec3; readonly jumpSound: boolean; readonly jumped: boolean; } /** * Pure translation of the rerelease `PM_CheckJump` helper from `p_move.cpp`. * The function takes in the minimal pmove state that the original C++ logic * touches and returns the updated flag/origin/velocity tuple so callers can * apply the same semantics on both the server and client. */ export declare function checkJump(params: CheckJumpParams): CheckJumpResult; //# sourceMappingURL=jump.d.ts.map