import * as React from 'react'; import { Pressable } from 'react-native'; import type { ComboboxItem as ComboboxItemData } from '../store/ComboboxStore'; import type { ZestUIComponentProps } from '../../types'; /** * A selectable item in the list. * Renders a ``. */ export declare function ComboboxItem(componentProps: ComboboxItem.Props): React.JSX.Element; export interface ComboboxItemState { /** * Whether the item should ignore user interaction. A disabled root disables * every item in it. */ disabled: boolean; /** * Whether this item is the selected one. */ selected: boolean; /** * Whether the item is currently pressed. */ pressed: boolean; /** * The item's index in the list, in visual order. */ index: number; } export interface ComboboxItemProps extends ZestUIComponentProps { /** * The item this row represents, as handed to you by `Combobox.List`. */ item: ComboboxItemData; /** * Whether the item should ignore user interaction. * @default false */ disabled?: boolean | undefined; } export declare namespace ComboboxItem { type State = ComboboxItemState; type Props = ComboboxItemProps; } //# sourceMappingURL=ComboboxItem.d.ts.map