import type { GameState, TurnChoices } from "../types.ts"; /** * What the colour to move may do this turn — every piece that has a move, or * every point that may be played — and whether a rule narrowed it. * * A question put to the engine's own answers, adding no rule of its own: * `pieceMoves` and `legalPoints` already decide what is legal, and this gathers * them so a board can show a player the few things they may do without working * any of it out itself. The board's marking reads this and nothing else. * * The dependency runs one way, from here into the engine, as `record.ts` does; * nothing in the engine calls this. * * Null where a turn has no set of moves to show: a finished game, a quarter * turn owed, a game whose piece is laid by its footprint from a queue, and Go, * where a pass is always on offer beside the points. * * @param state - The current immutable game position. * @returns The native placement or movement choices, or null when no choice list applies. * @example * ```ts * import { createGame, turnChoices } from "@johnmorrisdotca/narabe"; * * const state = createGame({variant:"freestyle",size:15}); * console.log(turnChoices(state)); * ``` */ export declare function turnChoices(state: GameState): TurnChoices | null;