import React from 'react'; import { AutosuggestProps } from '../../../autosuggest/interfaces'; import { ExpandToViewport } from '../../../dropdown/interfaces'; import { BaseChangeDetail, BaseInputProps, InputAutoCorrect, InputClearLabel, InputKeyEvents, InputProps } from '../../../input/interfaces'; import { BaseComponentProps } from '../../base-component'; import { FormFieldValidationControlProps } from '../../context/form-field-context'; import { NonCancelableEventHandler } from '../../events'; import { InternalBaseComponentProps } from '../../hooks/use-base-component'; interface AutosuggestInputProps extends BaseComponentProps, BaseInputProps, InputAutoCorrect, InputKeyEvents, InputClearLabel, FormFieldValidationControlProps, ExpandToViewport, InternalBaseComponentProps { ariaControls?: string; ariaActivedescendant?: string; dropdownExpanded?: boolean; dropdownContentKey?: string; dropdownContentFocusable?: boolean; dropdownContent?: React.ReactNode; dropdownFooter?: React.ReactNode; dropdownWidth?: number; loopFocus?: boolean; onCloseDropdown?: NonCancelableEventHandler; onDelayedInput?: NonCancelableEventHandler; onPressArrowDown?: () => void; onPressArrowUp?: () => void; onPressEnter?: () => boolean; style?: InputProps['style']; } interface AutosuggestInputFocusOptions { preventDropdown?: boolean; } export interface AutosuggestInputRef extends AutosuggestProps.Ref { focus(options?: AutosuggestInputFocusOptions): void; open(): void; close(): void; } declare const AutosuggestInput: React.ForwardRefExoticComponent>; export default AutosuggestInput;