import { ComponentPropsWithRef } from 'react'; import * as PropTypes from 'prop-types'; import { Props as NxSearchDropdownProps } from '../NxSearchDropdown/types'; import { Props as NxTransferListHalfProps } from '../NxTransferListHalf/types'; export interface StatefulProps extends ComponentPropsWithRef<'div'> { onSearch: NxSearchDropdownProps['onSearch']; loading: NxSearchDropdownProps['loading']; loadError?: NxSearchDropdownProps['error']; searchMatches: NxSearchDropdownProps['matches']; onSearchMatchSelect: NxSearchDropdownProps['onSelect']; addedItemsLabel?: string | null; showRemoveAll?: boolean | null; addedItems: NxTransferListHalfProps['items']; onRemove: (newAddedItems: NxTransferListHalfProps['items']) => void; addedItemsCountFormatter?: ((n: number) => string) | null; filterFn?: ((filterStr: string, itemDisplayName: string) => boolean) | null; } export interface Props extends StatefulProps { searchText: NxSearchDropdownProps['searchText']; onSearchTextChange: NxSearchDropdownProps['onSearchTextChange']; addedItemsFilter: NxTransferListHalfProps['filterValue']; onAddedItemsFilterChange: NxTransferListHalfProps['onFilterChange']; } export declare const statefulPropTypes: PropTypes.ValidationMap>; export declare const propTypes: PropTypes.ValidationMap>; //# sourceMappingURL=types.d.ts.map