import { Ref, CSSProperties, PureComponent } from 'react'; import PropTypes from 'prop-types'; import { CombinePropsAndAttributes } from '../../helpers'; import { SelectValue } from '../common/types'; import Dropdown, { IProps as IDropdownProps } from '../Dropdown'; import CustomFlatSelect, { IProps as ICustomFlatSelectProps } from '../CustomFlatSelect'; export * from './CustomSelectFace'; export * from './CustomSelectOption'; interface ISelfProps extends ICustomFlatSelectProps { elementRef?: Ref; style?: CSSProperties; placeholder?: string; } export declare type IProps = CombinePropsAndAttributes; interface IState { value: SelectValue; } export default class CustomSelect extends PureComponent { static propTypes: { elementRef: PropTypes.Requireable<(...args: any[]) => any>; style: PropTypes.Requireable; placeholder: PropTypes.Requireable; id: PropTypes.Requireable; name: PropTypes.Requireable; onChange: PropTypes.Requireable<(...args: any[]) => any>; defaultValue: PropTypes.Requireable; value: PropTypes.Requireable; multiple: PropTypes.Requireable; disabled: PropTypes.Requireable; children: PropTypes.Validator; }; static defaultProps: { multiple: boolean; disabled: boolean; }; static getDerivedStateFromProps: typeof CustomFlatSelect.getDerivedStateFromProps; private dropdownRef; constructor(props: any); render(): JSX.Element; private face; private onDropdownRef; private onDropdownHide; private onChange; } //# sourceMappingURL=CustomSelect.d.ts.map