import * as React from 'react'; import { BaseUIComponentProps } from "../../utils/types.js"; import type { FieldRoot } from "../../field/root/FieldRoot.js"; import type { Side } from "../../utils/useAnchorPositioning.js"; /** * A text input to search for items in the list. * Renders an `` element. */ export declare const ComboboxInput: React.ForwardRefExoticComponent>; export interface ComboboxInputState extends FieldRoot.State { /** * Whether the corresponding popup is open. */ open: boolean; /** * Indicates which side the corresponding popup is positioned relative to its anchor. */ popupSide: Side | null; /** * Present when the corresponding items list is empty. */ listEmpty: boolean; /** * Whether the component should ignore user edits. */ readOnly: boolean; } export interface ComboboxInputProps extends BaseUIComponentProps<'input', ComboboxInput.State> { /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean; } export declare namespace ComboboxInput { type State = ComboboxInputState; type Props = ComboboxInputProps; }