import type * as React from 'react'; import type { AutocompleteInputProps } from './types.cjs'; /** * The free-text field an {@link Autocomplete} is built around. Keeps real DOM focus for the whole interaction * and doubles as the popper anchor the popup positions against. Renders an `` * with `aria-expanded`, `aria-controls`, `aria-autocomplete="list"`, `aria-activedescendant`, `autoComplete="off"`. * * Keyboard, in full: * * | Key | Effect | * | --- | --- | * | Arrow Down / Up | opens the popup, or moves the highlight — **DOM focus never moves** | * | Alt + Arrow Down | opens the popup **without** highlighting anything | * | Alt + Arrow Up | commits the highlighted suggestion and closes | * | Home / End | **while open only**, moves the highlight to the first / last suggestion | * | Enter | commits the highlighted suggestion; with nothing highlighted, commits the raw text (when `allowCustomValue`), else just closes | * | Escape | closes and puts the last committed text back | * | Tab | commits the raw text and moves on — the free-text escape hatch | * * Blur commits the raw text too — the behaviour that separates this family from `Combobox`: typing "foo" and * clicking elsewhere keeps "foo". Give it an accessible name — `aria-label`, `aria-labelledby`, or a `Label`. * * @example * ```tsx * * ``` */ export declare const AutocompleteInput: { ({ ref: forwardedRef, ...props }: AutocompleteInputProps): React.ReactNode; displayName: string; };