import { type Mesh } from "@babylonjs/core/Meshes/mesh.js"; import { type INavMeshParametersV2 } from "../types.js"; /** * Builds a NavMesh and NavMeshQuery from meshes using provided parameters. * @param meshes The array of meshes used to create the NavMesh. * @param parameters The parameters used to configure the NavMesh generation. * @returns An object containing the NavMesh and NavMeshQuery. * @remarks This function generates a NavMesh based on the provided meshes and parameters. * It supports different configurations such as solo, tiled, and tile cache nav meshes. * If you need obstacles, ensure that `maxObstacles` is set to a value greater than 0. * Recommended values for `tileSize` are between 32 and 64 when using obstacles/tile cache. * If you need a tiled nav mesh, ensure that `tileSize` is set to a value greater than 0. * @throws Error if the NavMesh data is invalid or cannot be deserialized. */ export declare function GenerateNavMesh(meshes: Array, parameters: INavMeshParametersV2): { navMesh: any; intermediates: any; navMeshQuery: any; tileCache: any; };