import React from 'react'; import { SelectProps, SelectOption } from './BaseSelect/types'; declare function BackwardCompatibleSelectWithRef({ className, listClassName, closeOnSelect, disabled, variant, selectAllLabel, metadata, multiple, onSearchChange, onSelect, onListVisibilityChange, options, emptyStateLabel, renderEmptyState, renderTrigger, optionType, searchable, searchAutofocus, searchInitialValue, searchNoResultsLabel, searchPlaceholder, selectedOptions, minOptionsToDisplaySearch, triggerLabel, outline, autoFocus, triggerId, creatableOptions, isClearable, highlightedText, isLoading, submitOptions, enableFlowTriggers, enableNewSearchInput, limitTwoRows, enableSubLabelSearch, minGroupsToDisplayHeader, resetSearchOnClose, popoverCollisionPadding, }: SelectProps, ref: React.Ref): JSX.Element; /** * According to this article: https://fettblog.eu/typescript-react-generic-forward-refs/ * we export this value and default because otherwise Storybook won't populate the `ArgTable` correctly */ export declare const BackwardCompatibleSelect: (props: SelectProps & { ref?: React.Ref | undefined; }) => ReturnType; export default BackwardCompatibleSelect;