import { Cell } from '../Cell'; import { Grid } from '../Grid'; import { CellValueChange } from '../ValueTypes'; export declare class NakedSinglesSolver { /** * Searches the grid for values with a single potential and if it finds any, returns an * array of changes to apply to the target grid. * @param targetGrid The grid to solve. * @returns An array of changes to apply to the grid to solve it. */ static solve(targetGrid: Grid): CellValueChange[]; /** * Given a known cell, it finds all other cells intersecting it that need the potential value * removed. It then returns an array of objects to remove the potential to other cells in the * block. * @param targetGrid The grid holding the puzzle to work with. * @param cell The known cell to use for potential removal. * @returns An array of changes to other cells in the grid. */ static solveForCell(targetGrid: Grid, cell: Cell): CellValueChange[]; }