import { FieldOfViewMap } from './field-of-view-map'; import { FieldOfViewImpl } from './field-of-view-impl'; /** * Compute the field of view for a camera at the given tile. * chebyshevRadius is the vision radius. It uses chebyshev distance * (https://en.wikipedia.org/wiki/Chebyshev_distance), which just means * that the limit of vision in a large empty field will be square. * * This returns a WarpRect, which indicates which tiles are visible * and which map is seen in each tile. warpRect.getMask(x, y) will return * true for visible tiles, warpRect.getMap(x, y) will return * the map for that tile, and warpRect.getOffset(x, y) will return the * location in that map which is visible there. */ export declare function computeFieldOfView(map: FieldOfViewMap, x: number, y: number, chebyshevRadius: number): FieldOfViewImpl;