import type { Cell, MoverRules, Point, Stone } from "../types.ts"; /** The men a game of this kind starts with: black at the foot of the board, moving up it. */ export declare function moverStart(rules: MoverRules, size: number): { point: Point; stone: Stone; }[]; /** Where a queen or an arrow can go from here: along any of the eight lines, as far as nothing stands in the way. */ export declare function queenReach(board: readonly Cell[], size: number, from: Point): Point[]; /** Where a man may go under these rules. */ export declare function moverMoves(rules: MoverRules, board: readonly Cell[], size: number, from: Point, stone: Stone): Point[]; /** Whether this colour has any move at all. */ export declare function moverCanMove(rules: MoverRules, board: readonly Cell[], size: number, stone: Stone): boolean; /** Whether all this colour's men are one group, touching along sides or corners. A side with none has no group. */ export declare function allJoined(board: readonly Cell[], size: number, stone: Stone): boolean; /** Whether a colour has a man on the far row, the one Breakthrough is won by reaching. */ export declare function reachedFarRow(board: readonly Cell[], size: number, stone: Stone): boolean;