import { KifuNotebookState } from "./store" ; import { KifuTree } from "./models" ; export const getAutoSaveNeeded = ( state ) : boolean => state . autoSaveEnabled && state . needSave ; export const getKifuTree = ( state ) : KifuTree => state . kifuTree ;