import * as React from 'react'; import { TextInput } from 'react-native'; import type { ComboboxHandle } from '../store/ComboboxHandle'; import type { ZestUIComponentProps } from '../../types'; /** * The text input that filters the list, and the element the popup is anchored to. * Renders a ``. * * Pass a `handle` to render the input outside of its `Combobox.Root`: there is * no context reaching across, so the handle is what connects the two. */ export declare function ComboboxInput(componentProps: ComboboxInput.Props): React.ReactElement>; export interface ComboboxInputState { /** * Whether the list is currently open. */ open: boolean; /** * Whether the component should ignore user interaction. */ disabled: boolean; } export interface ComboboxInputProps extends Omit, 'value'> { /** * A handle shared with a `Combobox.Root`, which is what lets this input live * outside of it. Create one with `Combobox.createHandle()`. * * The input's `nativeID` is the id a handle's `open(triggerId)` resolves. */ handle?: ComboboxHandle | undefined; /** * A payload handed to the root's children when they are a function. */ payload?: Payload | undefined; } export declare namespace ComboboxInput { type State = ComboboxInputState; type Props = ComboboxInputProps; } //# sourceMappingURL=ComboboxInput.d.ts.map