import { schema as normalizrSchema } from 'normalizr' import { RecursivePartial, ModuleState } from '../types' import { AnyAction } from 'redux' declare type IsOne = T extends 1 ? IfOne : IfMore export declare const mockMeta: ( meta?: RecursivePartial, ) => ModuleState export declare const getModuleMock: ( schema: normalizrSchema.Entity, defaultEntity: Entity, idProp?: keyof Entity, ) => { mockEntities: { (entity: RecursivePartial): Entity (entities: RecursivePartial[]): Entity[] (count: C): IsOne } mockModule: { (entity: RecursivePartial, moduleKey?: string | undefined): { entity: Entity actions: AnyAction[] } (entities: RecursivePartial[], moduleKey?: string | undefined): { entities: Entity[] actions: AnyAction[] } (count: C_1, moduleKey?: string | undefined): IsOne< C_1, { entity: Entity actions: AnyAction[] }, { entities: Entity[] actions: AnyAction[] } > } } export {}