/**
 * Find the face of `mesh` whose surface is closest to the given point.
 * Expects `bvh` to have been built by {@link bvh_build_from_bt_mesh}, so each leaf's user data is a face ID.
 * Faces are expected to be triangles (as produced by the navmesh build pipeline).
 *
 * @param {BVH} bvh
 * @param {BinaryTopology} mesh
 * @param {number} x
 * @param {number} y
 * @param {number} z
 * @param {Float32Array|number[]} out_point the closest point ON the winning face's surface (the snapped
 *        contact point) is written here when a face is found. Required, must not be null.
 * @param {number} [out_point_offset=0] offset into `out_point` to write the snapped XYZ triple
 * @param {number} [max_distance=Infinity] optional cutoff, only faces within this distance are considered
 * @returns {number} face ID of the nearest face, or {@link NULL_POINTER} if no face was found within the cutoff
 */
export function bvh_query_nearest_face(bvh: BVH, mesh: BinaryTopology, x: number, y: number, z: number, out_point: Float32Array | number[], out_point_offset?: number, max_distance?: number): number;
//# sourceMappingURL=bvh_query_nearest_face.d.ts.map