type CommonState = { highlightedIndex: number; isOpen: boolean; selectedItem: Item | null; inputValue: string; }; type CommonProps = { items: Item[]; isItemDisabled: (item: Item, index: number) => boolean; itemToKey: (item: Item | null) => unknown; initialHighlightedIndex?: number; defaultHighlightedIndex?: number; defaultIsOpen?: boolean; defaultSelectedItem?: Item | null; defaultInputValue?: string; }; type CommonAction = { type: string; index?: number; disabled?: boolean; highlightedIndex?: number; inputValue?: string; selectedItem?: Item | null; }; type CommonStateChangeTypes = Record; export default function downshiftCommonReducer(state: CommonState, props: CommonProps, action: CommonAction, stateChangeTypes: CommonStateChangeTypes): CommonState; export {};