import { Action, AtomMut, AtomState, Fn, Rec } from '@reatom/core';
interface Reducers extends Rec<(state: AtomState, ...args: Array) => AtomState> {
}
export type WithReducers> = A & {
[K in keyof R]: R[K] extends Fn<[any, ...infer Args]> ? Action> : never;
};
/** @deprecated use withAssign instead */
export declare const withReducers: >(reducers: R) => (anAtom: A) => WithReducers;
export {};
//# sourceMappingURL=withReducers.d.ts.map