mycrossword
Version:
React crossword component
14 lines (12 loc) • 428 B
TypeScript
import { Cell, CellPosition } from '~/types';
type CellsStore = {
cells: Cell[];
complete: boolean;
checkComplete: () => boolean | null;
resetComplete: () => void;
setCells: (cells: Cell[]) => void;
select: (pos: CellPosition) => void;
answerAll: (answered: boolean) => void;
};
export declare const useCellsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<CellsStore>>;
export {};