import React from 'react'; import { SortByType, SortingOption } from '../../types'; import { PickerItem } from '../../../shared/types'; interface ItemPickerProps { items: PickerItem[] | SortByType[] | SortingOption[]; selection: string | undefined; selectedSortByType?: SortByType | null; label: string; placeholder: string; classModifier: string; valueFormatter?: (value: string, direction?: string) => string; onPick: (picked: string, direction?: string) => void; } declare const ItemPicker: React.FC; export default ItemPicker;