import { Component, ReactNode } from 'react'; import { TypeaheadOption, TypeaheadProps } from '../Typeahead'; export type TypeaheadInputProps = { typeaheadId: string; value: string; selected: readonly TypeaheadOption[]; dropdownOpen?: boolean; autoComplete: string; onChange: React.ChangeEventHandler; onKeyDown: React.KeyboardEventHandler; onFocus: () => void; onPaste: React.ClipboardEventHandler; renderChip: (chip: TypeaheadOption, index: number) => ReactNode; ariaActivedescendant?: string; } & Pick, 'id' | 'name' | 'autoFocus' | 'multiple' | 'placeholder' | 'maxHeight'>; type TypeaheadInputState = { inputWidth: number; keyboardFocusedOptionIndex: number | null; }; export default class TypeaheadInput extends Component, TypeaheadInputState> { inputRef: import("react").RefObject; sizerRef: import("react").RefObject; constructor(props: TypeaheadInputProps); componentDidMount(): void; componentDidUpdate(previousProps: TypeaheadInputProps): void; recalculateWidth: () => void; renderInput: () => import("react").JSX.Element; render(): import("react").JSX.Element; } export {}; //# sourceMappingURL=TypeaheadInput.d.ts.map