export declare const SelectLegacy: ({ field, form, selectedValue, disabled, defaultText, hasError, isRequired, name, options, onChange, ...rest }: SelectLegacyProps) => JSX.Element; export declare const SelectListItems: ({ handleEvent, onChange, isOpen, name, options, setIsOpen, setLabel, setValue, selectedValue, value, form, field, ...rest }: { [x: string]: any; handleEvent: any; onChange: any; isOpen: any; name: any; options: any; setIsOpen: any; setLabel: any; setValue: any; selectedValue: any; value: any; form: any; field: any; }) => any; export interface Option { disabled?: boolean; isSelected?: boolean; label: string; value: string; } export interface SelectLegacyProps { /** Form object which comes from Formik */ form?: any; /** Field object which comes from Formik */ field?: any; /** Children that will be nested in the select component */ children?: any; /** Will be used as the default value / placeholder, replacing the first option value */ defaultText?: string; /** Disables the select component */ disabled?: boolean; /** Adds error styling */ hasError?: boolean; /** Provides an Id for the element */ id: string; /** Stores the currently selected option */ selectedValue?: Option["value"]; /** Adds required text */ isRequired?: boolean; /** Provides a name */ name: string; /** The options / items that are rendered */ options: Option[]; /** Returns the selected value to the component */ onChange?: (value: string) => void; }