import type { EnvironmentWorldFeature } from "../world/features.js"; import type { Aabb } from "../world/geometry.js"; import { type WorldSolids } from "../world/worldSolids.js"; export interface NavObstacleGrid { blockAabb(aabb: Aabb): void; } /** * Blocks the footprint of every solid building an environment feature's `structures` generate — the * same set `ctx.world.solids` holds for it. Returns the number of buildings blocked. */ export declare function populateNavGridFromEnvironment(grid: NavObstacleGrid, world: EnvironmentWorldFeature): number; /** * Blocks the XZ footprint of every solid in `solids` (usually `ctx.world.solids`) on `grid`, so NPC * paths avoid exactly what movement and physics collide with. Returns the number of solids blocked. * @capability nav-from-solids block world solids on a nav grid */ export declare function populateNavGridFromSolids(grid: NavObstacleGrid, solids: Pick): number;