export type State = { rows: { [rowId: string]: boolean; }; }; export type Action = { type: 'INITIALIZE_ROWS'; payload: { rowIds: string[]; selectedRows: string[]; }; } | { type: 'SELECT_ROW'; payload: string; } | { type: 'DESELECT_ROW'; payload: string; } | { type: 'SELECT_ALL_ROWS'; } | { type: 'DESELECT_ALL_ROWS'; }; export declare const createReducer: (state: State, action: Action) => State;