import type { Cell, Point, Stone } from "../types.ts"; /** The empty points a piece at `from` may step to. */ export declare function pieceDestinations(board: Cell[], size: number, from: Point): Point[]; /** How many stones of `stone` are on the board. */ export declare function countStones(board: Cell[], stone: Stone): number; /** * The 2×2 square of `stone` that includes `point`, if there is one. There are * four squares a point can belong to, one per corner it could occupy. */ export declare function squareThrough(board: Cell[], size: number, point: Point, stone: Stone): Point[];