import PropTypes from 'prop-types'; import React from 'react'; /** Structured Autocomplete option shape */ declare const structuredAutocompleteOptionShape: PropTypes.Requireable; label: PropTypes.Validator; }>>; declare type StructuredAutocompleteOption = PropTypes.InferType; export declare type AutocompleteOption = string | StructuredAutocompleteOption; /** Autocomplete option shape */ export declare const autocompleteOptionShape: PropTypes.Requireable; label: PropTypes.Validator; }>>; export declare const getTermFromOption: (option: string | PropTypes.InferProps<{ value: PropTypes.Requireable; label: PropTypes.Validator; }>) => string; declare const propTypes: { /** Determine if the option should have a rounded bottom */ roundedBottom: PropTypes.Requireable; /** Option icon */ icon: PropTypes.Requireable; /** Search term used to highlight it into the label */ searchTerm: PropTypes.Validator; /** Option title */ value: PropTypes.Validator; label: PropTypes.Validator; }>>; /** Option key used in the list */ key: PropTypes.Validator; /** Determine if an option is selected and should be highlighted */ selected: PropTypes.Validator; /** Click handler */ onClick: PropTypes.Validator<(...args: any[]) => any>; }; declare const Option: React.FunctionComponent>; export default Option;