import { type Box3 } from 'mathcat'; import { type BuildContextState, type CompactHeightfield, type ContourSet, type Heightfield, type NavMesh, type PolyMesh, type PolyMeshDetail } from 'navcat'; import * as chunkyTriMesh from '../geometry/chunky-tri-mesh.js'; export type TiledNavMeshInput = { positions: ArrayLike; indices: ArrayLike; }; export type TiledNavMeshOptions = { cellSize: number; cellHeight: number; tileSizeVoxels: number; tileSizeWorld: number; walkableRadiusVoxels: number; walkableRadiusWorld: number; walkableClimbVoxels: number; walkableClimbWorld: number; walkableHeightVoxels: number; walkableHeightWorld: number; walkableSlopeAngleDegrees: number; borderSize: number; minRegionArea: number; mergeRegionArea: number; maxSimplificationError: number; maxEdgeLength: number; maxVerticesPerPoly: number; detailSampleDistance: number; detailSampleMaxError: number; }; export type TiledNavMeshIntermediates = { buildContext: BuildContextState; input: TiledNavMeshInput; inputBounds: Box3; chunkyTriMesh: chunkyTriMesh.ChunkyTriMesh; triAreaIds: Uint8Array[]; heightfield: Heightfield[]; compactHeightfield: CompactHeightfield[]; contourSet: ContourSet[]; polyMesh: PolyMesh[]; polyMeshDetail: PolyMeshDetail[]; }; export type TiledNavMeshResult = { navMesh: NavMesh; intermediates: TiledNavMeshIntermediates; }; export declare function generateTiledNavMesh(input: TiledNavMeshInput, options: TiledNavMeshOptions): TiledNavMeshResult;