import { ReactNode } from 'react';
import * as React from 'react';
import ReactSelect, { ActionMeta } from 'react-select';
import CreatableReactSelect from 'react-select/creatable';
import { SelectComponentsConfig } from 'react-select/src/components';
import { FormatOptionLabelMeta } from 'react-select/src/Select';
import { StylesConfig } from 'react-select/src/styles';
import { ThemeConfig } from 'react-select/src/theme';
import {
GroupTypeBase,
KeyboardEventHandler,
MenuPlacement,
MenuPosition,
OptionsType,
ValueType,
} from 'react-select/src/types';
import { AnyObject } from '../generic';
import { StrictFieldProps } from '../Field';
export declare type SelectOption = AnyObject;
export declare type SelectDefaultOption = {
label: string;
value: string;
};
export declare type SelectProps<
Option extends SelectOption = SelectDefaultOption,
Value = string | number,
FallbackValue = null
> = StrictSelectProps