import * as React from 'react'; import { Props as TypelistProps } from './TypeaheadSelector'; import { CustomClasses, Option, OptionToStrFn, OptionsProps } from '../types'; export declare type AnyReactWithProps = React.Component> | React.PureComponent> | React.SFC>; export interface Props extends Pick, 'onKeyDown' | 'onKeyPress' | 'onKeyUp' | 'onBlur' | 'onFocus' | 'onChange' | 'className'>, OptionsProps { name?: string; maxVisible?: number; clearOnSelection?: boolean; resultsTruncatedMessage?: string; initialValue?: string; value?: string; placeholder?: string; disabled?: boolean; textarea?: boolean; allowCustomValues?: boolean; inputProps?: React.InputHTMLAttributes; displayOption?: string | ((option: Opt, index?: number) => string | number) | undefined; filterOption?: string | ((value: string, option: Opt) => boolean); inputDisplayOption?: string | OptionToStrFn | undefined; formInputOption?: string | OptionToStrFn | undefined; searchOptions?: (value: string, option: Opt[]) => Opt[]; defaultClassNames?: boolean; customClasses?: CustomClasses; customListComponent?: AnyReactWithProps; showOptionsWhenEmpty?: boolean; innerRef?: React.MutableRefObject; separateByComma?: boolean; } declare const Typeahead: (props: Props) => JSX.Element; export default Typeahead;