import React from 'react'; import { UseFieldApiConfig } from '@data-driven-forms/react-form-renderer'; import { SelectOption, OptionValue } from '../types/shared-types'; import { DualListSelectState } from './reducer'; interface DualListSelectComponentProps { leftValues: SelectOption[]; rightValues: SelectOption[]; handleOptionsClick: (event: React.MouseEvent, value: T) => void; handleValuesClick: (event: React.MouseEvent, value: T) => void; handleMoveRight: () => void; handleMoveLeft: () => void; handleClearLeftValues: () => void; handleClearRightValues: () => void; filterOptions?: (options: SelectOption[], filterValue: string) => SelectOption[] | ((value: string) => void); filterValue?: string; filterValueText?: string; filterPlaceholder?: string; filterOptionsText?: string; filterValuePlaceholder?: string; noOptionsText?: string; noValueText?: string; sortOptions: () => void; sortValues: () => void; filterValues: (value: string) => void; state: DualListSelectState; [key: string]: unknown; } export type DualListSelectCommonProps> = UseFieldApiConfig & { DualListSelect: React.ComponentType>; options: SelectOption[]; } & SelectProps; declare const DualListSelectCommon: (props: DualListSelectCommonProps) => import("react/jsx-runtime").JSX.Element; export default DualListSelectCommon;