import type { Cell, GameSettings, Point } from "./types.ts"; /** The centre intersection — tengen (天元) — which never carries an obstacle. */ export declare function tengen(size: number): Point; /** * The intersections sealed off by the settings' obstacle layout. `hoshi` takes * the star points out of play but leaves tengen open, so the centre of the * board is still contestable. */ export declare function obstaclePoints(settings: GameSettings): Point[]; /** * The squares a variant scatters at random when the game starts, drawn from * the game's seed so a replay lands them in the same places. Dead squares * come first, then hotspots, all distinct, and never on the bottom row of a * drop game, where they would only ever be a wall. * * None for a rock game: its squares are laid by `rules/rocks.ts`, across the * whole board, and may not be there at the start at all. */ export declare function randomSquares(settings: GameSettings): { dead: Point[]; hot: Point[]; worm: Point[]; }; /** * The wormholes as a map from each mouth to its partner, by board index. A * line walking into one mouth continues from the cell past the other. */ export declare function wormholeLinks(settings: GameSettings): Map; /** A board with the layout's obstacles already in place and nothing else on it. */ export declare function emptyBoard(settings: GameSettings): Cell[];