import { ReactElement } from 'react'; import { SizeTypeSelect } from '../../../../../../../../../../src/utils'; export interface SelectOptionProps { children: string; disabled?: boolean; helperText?: string; searchText?: string; selected?: boolean; value?: string; created?: boolean; } type LabelOrAriaLabelProps = { label: string; "aria-label"?: string; } | { label?: string; "aria-label": string; }; export type SelectProps = { children?: ReactElement | ReactElement[] | (ReactElement | ReactElement[])[]; className?: string; creatable?: boolean; createMessage?: string; defaultValue?: string | string[]; disabled?: boolean; errorList?: string[]; helperText?: string; id?: string; loading?: boolean; multiple?: boolean; noOptionsMessage?: string; onChange?: (value: null | string | string[]) => void; onInvalidInput?: (invalidInput: string) => void; placeholder?: string; required?: boolean; searchable?: boolean; collapse?: boolean; value?: string | string[]; size?: SizeTypeSelect; fitToContentWidth?: boolean; style?: React.CSSProperties; } & LabelOrAriaLabelProps; export {};