import type * as React from 'react'; import type { Override } from '../helpers/overrides'; import type { STATE_CHANGE_TYPE, SIZE, TYPE } from './constants'; import type { OnItemSelectFn } from '../menu'; export type ChangeAction = keyof typeof STATE_CHANGE_TYPE; export type Size = keyof typeof SIZE; export type Type = keyof typeof TYPE; export type Option = Readonly<{ id?: string | number; label?: React.ReactNode; disabled?: boolean; clearableValue?: boolean; isCreatable?: boolean; __optgroup?: string; [x: string]: any; }>; export type Value = ReadonlyArray