import { Obj, ModulesState, Id } from './internalTypes' export interface AllEntities { [entityName: string]: Obj } export interface Entities { [k: string]: Entity [k: number]: Entity } export declare type ReduxModulesState = { entities: AllEntities modules: ModulesState } export declare type IdParam = { id: Id } & Params export interface RequestConfig { url: string method?: 'get' | 'post' | 'put' | 'delete' params?: {} data?: {} headers?: {} } export declare enum ApiStatus { NotStarted = 'NOT_STARTED', Loading = 'LOADING', LoadingNext = 'LOADING_NEXT', Refreshing = 'REFRESHING', Success = 'SUCCESS', Failure = 'FAILURE', } export declare type IsEmpty< Value extends Obj, EmptyValue, AllOptionalValue, NotEmptyValue > = {} extends Required ? EmptyValue : {} extends NonNullable ? AllOptionalValue : NotEmptyValue