import type { Cell, GameSettings, Point, Stone } from "../types.ts"; /** * The enemy stones a stone of `stone` landing on `point` would capture: every * group of enemy stones of an allowed size in a straight line from it, with * another friendly stone immediately beyond. A pair in the two-removal game * (二抜き); a pair or a triple in the three-removal game. Empty outside the * capture variants. * * Only the closing stone captures. A group that moves *into* a flanked * position is safe, which is what makes the game playable rather than a * bloodbath. */ export declare function capturesFrom(board: Cell[], settings: GameSettings, stone: Stone, point: Point): Point[]; /** The board with `points` lifted off it. */ export declare function removeStones(board: Cell[], size: number, points: Point[]): Cell[]; /** Stones captured, which is what the tally counts. */ export declare function stonesIn(points: Point[]): number;