/// /** * Draw a position's path as {@link RoomVisual} * @param path a list of position * @param style the (optional) style. */ export declare function drawRoomPathVisual(path: RoomPosition[], style?: PolyStyle): void; /** * Return a function caching {@link Game.map.visual} for a given interval * @param draw a function to draw the visuals * @param interval optional: interval to cache the visuals * @returns a cached function to draw the visuals */ export declare function cacheMapVisual(draw: () => void, interval?: number): () => void;