import { SelectProps as MUISelectProps } from '@material-ui/core/Select'; import React, { ReactNode } from 'react'; import { Omit } from '../types'; import { FormFieldProps } from './helpers'; export declare type Choice = { value: T; label: ReactNode; }; export declare type SelectProps = Omit & FormFieldProps & { value?: string; onChange?: (value: string) => void; label?: ReactNode; id?: string; choices: Array; containerProps?: FormFieldProps; renderChoice?: (choice: Choice, index: number) => ReactNode; }; export declare const Select: React.MemoExoticComponent<({ value, onChange, label, error, description, disabled, required, id, startAdornment, endAdornment, fullWidth, margin, onBlur, onFocus, choices, containerProps, renderChoice, ...props }: SelectProps) => JSX.Element>;