import { AxialCoordinates, Hex, HexCoordinates, HexSettings } from '../hex'; export declare type Traverser = T[]> = (createHex: (coordinates?: HexCoordinates) => T, cursor?: HexCoordinates) => R; export interface GridAsJSON { hexSettings: HexSettings & Omit; coordinates: AxialCoordinates[]; } export declare enum Rotation { CLOCKWISE = "CLOCKWISE", COUNTERCLOCKWISE = "COUNTERCLOCKWISE" } export declare type RotationLike = Rotation | 'CLOCKWISE' | 'clockwise' | 'COUNTERCLOCKWISE' | 'counterclockwise'; export declare type Without = { [P in Exclude]?: never; }; export declare type XOR = T | U extends Record ? (Without & U) | (Without & T) : T | U;