import { ChangeEventHandler, PureComponent, SelectHTMLAttributes } from 'react'; import { Omit } from '../../interfaces/props'; import { InputSize } from '../common'; export declare type OptionProps = string | { label?: string; disabled?: boolean; value?: string | number; }; interface SelectOwnProps { size: InputSize; name?: string; value?: string | number; options?: OptionProps[]; fill?: boolean; placeholder?: string; onChange?: ChangeEventHandler; } export declare type OmittedSelectAttributes = Omit, keyof SelectOwnProps>; export interface SelectProps extends SelectOwnProps { selectAttributes?: OmittedSelectAttributes; } export declare class Select extends PureComponent { static defaultProps: { size: string; fill: boolean; }; render(): JSX.Element; private renderOptions; } export {};