export type BoardStore = { get: () => T; set: (next: T) => void; subscribe: (listener: () => void) => () => void; }; /** Board-local state that only the components selecting a changed slice re-render for. */ export declare const createBoardStore: (initial: T) => BoardStore; export declare const useBoardStore: (store: BoardStore, select: (value: T) => S) => S;