import type React from 'react'; import type { GroupBase, MultiValueProps, Props as SelectProps } from 'react-select'; import type { CreatableProps } from 'react-select/creatable'; export declare type OptionData = { tooltip?: string; value: string; label: string; isMoreIndicator?: boolean; }; export declare type Options = string[] | OptionData[]; export declare type PrimitiveOption = string | number | boolean; export declare type RawOption = PrimitiveOption | null | undefined | Partial; export declare type DropdownOptionsInput = Array; export declare type NormalizeDropdownOptionParams = { warningState: Set; option: RawOption; fieldKey: string; context: string; entityLabel: string; }; export declare type BuildDropdownOptionsParams = { warningState: Set; fieldKey: string; contextPrefix: string; labelOverrides?: unknown[]; tooltipOverrides?: unknown[]; labelMap: Record; tooltipMap: Record; entityLabel: string; }; export declare type DropdownSelectExtraProps = { collapsedCount: number; containerRef: React.RefObject; collapseSelected: boolean; isMeasuring: boolean; visibleCount: number; inputHidden?: boolean; onCollapsedChipPress?: (event: React.SyntheticEvent) => void; onControlPress?: (event: React.SyntheticEvent, info: { isTouch: boolean; }) => boolean; onMultiValueRemovePointer?: () => void; }; export declare type DropdownSelectProps = MultiValueProps['selectProps'] & DropdownSelectExtraProps; export declare type DropdownSelectComponentProps = SelectProps> & DropdownSelectExtraProps; export declare type DropdownCreatableSelectComponentProps = CreatableProps> & DropdownSelectExtraProps; export declare type CreatableValidator = (inputValue: string, value: readonly OptionData[], options: readonly (OptionData | GroupBase)[], accessors: { getOptionValue(option: OptionData): string; getOptionLabel(option: OptionData): string; }) => boolean; //# sourceMappingURL=types.d.ts.map