import { type NavMeshQuery, type NavMesh, type QueryFilter } from "@recast-navigation/core"; import { type IVector3Like } from "@babylonjs/core/Maths/math.like.js"; import { Vector3 } from "@babylonjs/core/Maths/math.vector.js"; /** * Compute a smooth navigation path from start to end. Returns an empty array if no path can be computed * @param navMesh the navigation mesh to use * @param navmeshQuery the navigation mesh query to use * @param start world position * @param end world position * @param options options object * @returns array containing world position composing the path */ export declare function ComputeSmoothPath(navMesh: NavMesh, navmeshQuery: NavMeshQuery, start: IVector3Like, end: IVector3Like, options?: { filter?: QueryFilter; halfExtents?: IVector3Like; /** * @default 256 */ maxPathPolys?: number; /** * @default 2048 */ maxSmoothPathPoints?: number; /** * @default 0.5 */ stepSize?: number; /** * @default 0.01 */ slop?: number; }): Vector3[];