import * as React from "react"; import * as PropTypes from "prop-types"; import { FieldProps, JSONSchemaObject, JSONSchemaEnumOneOf } from "../../types"; interface State { suggestion?: any; } interface ValueContext { taxonRank?: string; author?: string; } export default class ScientificNameTaxonAutosuggestField extends React.Component, State> { static contextType: React.Context; static propTypes: { uiSchema: PropTypes.Validator; taxonRankField: PropTypes.Validator; authorField: PropTypes.Validator; allowNonsuggestedValue: PropTypes.Requireable; }>>>; uiSchema: PropTypes.Requireable; }>>>; schema: PropTypes.Validator; }>>>; formData: PropTypes.Validator; }; state: State; getUiSchema: (props: FieldProps) => any; getSuggestionValue: (suggestion: any) => string; onSuggestionSelected: (suggestion: any, mounted: boolean) => void; onUnsuggestionSelected: (value: any) => void; isValueSuggested: (value?: string, valueContext?: ValueContext) => boolean | undefined; getSuggestionFromValue: (value?: string, valueContext?: ValueContext) => Promise; suggestionMatchesData: (suggestion: any, value?: string, valueContext?: ValueContext) => boolean; getTaxonRankOptions: () => JSONSchemaEnumOneOf[] | undefined; renderSuggestion(suggestion: any, inputValue?: string): JSX.Element; render(): JSX.Element; } export {};