import { ItemInfo } from '../../interface'; export declare type ListReducerState = { curr: ItemInfo[]; count: number; }; export declare type ListReducerAction = { type: 'ReplaceAll'; list: ItemInfo[]; } | { type: 'ModifyList'; indexList: number[]; newSlice: ItemInfo[]; }; export declare const listReducer: (state: ListReducerState, action: ListReducerAction) => ListReducerState;