/**
 * 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 {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, max_distance?: number): number;
//# sourceMappingURL=bvh_query_nearest_face.d.ts.map