UNPKG

@logic-pad/core

Version:
24 lines (23 loc) 835 B
import Symbol from './symbol.js'; import { AnyConfig } from '../config.js'; import GridData from '../grid.js'; import { State } from '../primitives.js'; /** * A marker for symbols not supported by the current solver. * Solvers should count these symbols in the symbols per region rule but otherwise ignore them. */ export default class UnsupportedSymbol extends Symbol { readonly title = "Unsupported Symbol"; private static readonly CONFIGS; private static readonly EXAMPLE_GRID; get id(): string; get explanation(): string; get configs(): readonly AnyConfig[] | null; createExampleGrid(): GridData; validateSymbol(_grid: GridData, _solution: GridData | null): State; copyWith({ x, y }: { x?: number; y?: number; }): this; } export declare const instance: UnsupportedSymbol;