import { ReactNode } from 'react'; import { FormControlProps, FormHelperTextProps, InputLabelProps, MenuItemProps, SelectProps as MuiSelectProps } from '@mui/material'; import { ShowErrorFunc } from './ErrorMessage'; import { FieldProps } from 'react-final-form'; export interface SelectData { label: string; value: string | number | string[] | undefined; disabled?: boolean; } export interface SelectProps extends Partial> { name: string; label?: ReactNode; required?: boolean; multiple?: boolean; helperText?: string; fieldProps?: Partial>; formControlProps?: Partial; inputLabelProps?: Partial; formHelperTextProps?: Partial; showError?: ShowErrorFunc; menuItemProps?: Partial; data?: SelectData[]; children?: ReactNode; } export declare function Select(props: SelectProps): JSX.Element;