import React from 'react' export type StateAction = { type: string } & Record export type StateActionCases = { [actionType: string]: React.Reducer } export type StateProviderHelpers = { [key: string]: (...args: any[]) => any } export interface StateProviderProps { children: React.ReactNode | React.ReactNode[] }