UNPKG

@scrabble-solver/solver

Version:
8 lines (7 loc) 318 B
import { type Board, type Cell, type Config, type Pattern } from '@scrabble-solver/types'; export declare const generatePattern: <P extends Pattern>({ board, cells, config, PatternModel, }: { board: Board; cells: Cell[]; config: Config; PatternModel: new (board: Board, cells: Cell[]) => P; }) => P[];