1 | import type { EntityState, PreventAny } from './models';
|
2 | import type { PayloadAction } from '../createAction';
|
3 | import { IsAny } from '../tsHelpers';
|
4 | export declare function createSingleArgumentStateOperator<V>(mutator: (state: EntityState<V>) => void): <S extends EntityState<V>>(state: IsAny<S, EntityState<V>, S>) => S;
|
5 | export declare function createStateOperator<V, R>(mutator: (arg: R, state: EntityState<V>) => void): <S extends EntityState<V>>(state: S, arg: R | PayloadAction<R>) => S;
|