import type { AnyObject } from '../types'; export type FiltersState = { values: V; lastSubmittedValues: V; defaultValues: V; }; export type FiltersAction = { type: 'SET_VALUE'; payload: { name: keyof V; value: unknown; }; } | { type: 'SET_VALUES'; payload: { values: Partial; }; } | { type: 'RESET_FIELD'; payload: { name: keyof V; defaultValue?: V[keyof V]; }; } | { type: 'RESET_FIELDS'; payload: { names: (keyof V)[]; }; } | { type: 'RESET'; payload: { values?: Partial; }; } | { type: 'SUBMIT'; } | { type: 'DISCARD'; }; export declare const filtersReducer: (state: FiltersState, action: FiltersAction) => FiltersState; //# sourceMappingURL=reducer.d.ts.map