UNPKG

@logic-pad/core

Version:
23 lines (22 loc) 749 B
import GridData from '../grid.js'; import { RuleState } from '../primitives.js'; import Rule, { SearchVariant } from './rule.js'; export default class CompletePatternRule extends Rule { private static readonly EXAMPLE_GRID; private static readonly SEARCH_VARIANTS; /** * **Complete the pattern** * * This rule validates answers based on the provided solution. */ constructor(); get id(): string; get explanation(): string; createExampleGrid(): GridData; get searchVariants(): SearchVariant[]; validateGrid(_grid: GridData): RuleState; copyWith(_: object): this; get validateWithSolution(): boolean; get isSingleton(): boolean; } export declare const instance: CompletePatternRule;