import { type TileCacheMeshProcess } from "@recast-navigation/core"; /** * Builds a NavMesh and NavMeshQuery from serialized data. * @param data The serialized NavMesh data. * @returns An object containing the NavMesh and NavMeshQuery. * @remarks This function deserializes the NavMesh data and creates a NavMeshQuery * instance for querying the NavMesh. * @throws Error if the NavMesh data is invalid or cannot be deserialized. */ export declare function BuildFromNavmeshData(data: Uint8Array): { navMesh: any; navMeshQuery: any; tileCache: undefined; }; /** * Builds a TileCache and NavMeshQuery from serialized data. * @param data The serialized TileCache data. * @param tileCacheMeshProcess Optional function to process the TileCache mesh. * @returns An object containing the TileCache, NavMesh, and NavMeshQuery. */ export declare function BuildFromTileCacheData(data: Uint8Array, tileCacheMeshProcess: TileCacheMeshProcess): { navMesh: any; navMeshQuery: any; tileCache: any; };