import * as React from 'react'; import * as A from '../../../application/ApplicationTypes'; import * as P from '../../PresentationTypes'; interface SelectionInputProps { label: string; value: string | string[]; multiple?: boolean; options?: A.SelectionOption[]; optionsUrl?: string; helperText?: React.ReactNode; error?: boolean; onChange: (value: string | string[]) => any; onBlur: React.FocusEventHandler; strings: A.Strings; parentValue: P.ApplicationVariables; } interface SelectionInputState { options: A.SelectionOption[] | null; optionsError: string; } declare class SelectionInput extends React.Component { static defaultProps: { multiple: boolean; options: A.SelectionOption[]; optionsUrl: string; }; state: { options: A.SelectionOption[]; optionsError: string; }; componentDidMount(): void; componentDidUpdate(prevProps: SelectionInputProps): void; fetchOptions(): Promise; checkDefaultOptions(options: A.SelectionOption[]): void; render(): JSX.Element; } export default SelectionInput;