import type { Point } from "./types.ts"; /** The geometry of the board: the directions a line runs, star points, and column letters. */ /** * The four line orientations through a point. Each is checked in both its * forward and reverse sense, so four entries cover all eight neighbours. * * @example * ```ts * import { DIRECTIONS } from "@johnmorrisdotca/narabe"; * console.log(DIRECTIONS); * ``` */ export declare const DIRECTIONS: readonly Point[]; /** * The three line orientations on the hexagon lattice — see rules/hexagon.ts * for the embedding. Each is checked both ways, covering the six neighbours a * hexagon cell has. Three of the square board's own four: horizontal, * vertical and the slanted diagonal that follows the lattice's shear. The * fourth, `{row: 1, col: 1}`, is a diagonal of the SQUARE embedding only — * two cells that far apart along it are not lattice neighbours, and no * unbroken run of hexagon cells ever lies along it — so it is left out here * on purpose, never scanned as a line. * * @example * ```ts * import { HEX_LINE_DIRECTIONS } from "@johnmorrisdotca/narabe"; * console.log(HEX_LINE_DIRECTIONS); * ``` */ export declare const HEX_LINE_DIRECTIONS: readonly Point[]; /** The directions a winning line may run: the hexagon's three axes on a hexagon board, the square's four otherwise. * * @param hexagon - Whether to use the hexagonal rather than square line directions. * @returns The directions a winning line may run: the hexagon's three axes on a hexagon board, the square's four otherwise. * @example * ```ts * import { lineDirectionsFor } from "@johnmorrisdotca/narabe"; * * console.log(lineDirectionsFor(false)); * ``` */ export declare function lineDirectionsFor(hexagon: boolean): readonly Point[]; /** * Hoshi (star point) positions drawn on the board, by board size: the four * corner points, plus tengen at the centre, and for 19×19 the side points too. * * @example * ```ts * import { STAR_POINTS } from "@johnmorrisdotca/narabe"; * console.log(STAR_POINTS); * ``` */ export declare const STAR_POINTS: Record; /** Column letters used in coordinate labels, left to right. "I" is skipped as in go. * * @example * ```ts * import { COLUMN_LETTERS } from "@johnmorrisdotca/narabe"; * console.log(COLUMN_LETTERS); * ``` */ export declare const COLUMN_LETTERS = "ABCDEFGHJKLMNOPQRSTUVWXYZ";