import * as React from 'react'; import { WithStyles } from '../withStyles'; import styles from './MultiSelectField.styles'; import { MultiSelectFieldOptionProps } from './MultiSelectFieldOption'; declare type MultiSelectFieldChild = React.ReactElement; interface MultiSelectFieldProps extends WithStyles { label: string; value: string[]; disabled?: boolean; error?: boolean; helperText?: React.ReactNode; onChange: (value: string[]) => void; onBlur: (e: React.FocusEvent) => void; children?: MultiSelectFieldChild[]; } interface MultiSelectFieldState { orderedChildren: MultiSelectFieldChild[]; } export declare class MultiSelectField extends React.Component { static defaultProps: Partial; static getDerivedStateFromProps(props: MultiSelectFieldProps, state: MultiSelectFieldState): { orderedChildren: React.ReactElement[]; }; state: MultiSelectFieldState; render(): JSX.Element; } declare const _default: (React.ComponentClass & Partial> & Partial, never>>, "disabled" | "children" | "label" | "onBlur" | "onChange" | "value" | "error" | "helperText"> & import("@material-ui/core/styles/withStyles").StyledComponentProps, any> & { Option: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; }) | (React.FunctionComponent & Partial> & Partial, never>>, "disabled" | "children" | "label" | "onBlur" | "onChange" | "value" | "error" | "helperText"> & import("@material-ui/core/styles/withStyles").StyledComponentProps> & { Option: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; }); export default _default;