import type { Cell, Point, Stone } from "../types.ts"; /** The six cells touching this one, those that are on the board. */ export declare function hexNeighbours(size: number, from: Point): Point[]; /** Black joins top to bottom; white joins left to right. */ export declare function hexSides(stone: Stone): { from: "top" | "left"; to: "bottom" | "right"; }; /** * The chain joining this colour's two sides, or an empty list. * * A breadth-first walk from every stone of theirs on the near side; the path * back is kept so a finished game can show the chain that won it, the way * every other game here shows the line that won it. */ export declare function hexConnection(board: Cell[], size: number, stone: Stone): Point[];