Returns {
events: EventTarget;
get: <V>(selector: (state: State) => V) => V;
select: <V>(selector: (state: State) => V) => Ref<V>;
store: {
[K in string | number | symbol]: (
...args: ActionParameters<Actions[K]>,
) => any
};
transaction: (handler: () => any) => Promise<void>;
}