import { OptionValue } from '../types/shared-types'; export interface DualListSelectState { lastLeftClicked: T | undefined; selectedLeftValues: T[]; lastRightClicked: T | undefined; selectedRightValues: T[]; sortLeftDesc: boolean; sortRightDesc: boolean; filterOptions: string; filterValue: string; } export declare const initialState: DualListSelectState; export type DualListSelectAction = { type: 'setSelectedValue'; value: T; values: T[]; isRight: boolean; } | { type: 'setFilterValue'; value: string; } | { type: 'setFilterOptions'; value: string; } | { type: 'sortValue'; } | { type: 'sortOptions'; } | { type: 'clearRightValues'; } | { type: 'clearLeftOptions'; } | { type: 'clearLeftValues'; }; declare const reducer: (state: DualListSelectState, action: DualListSelectAction) => DualListSelectState; export default reducer;