import * as React from 'react';
import type { BaseUIComponentProps, NonNativeButtonProps } from "../../utils/types.js";
/**
* An individual item in the list.
* Renders a `
` element.
*/
export declare const ComboboxItem: React.NamedExoticComponent>;
export interface ComboboxItemState {
/**
* Whether the item should ignore user interaction.
*/
disabled: boolean;
/**
* Whether the item is selected.
*/
selected: boolean;
/**
* Whether the item is highlighted.
*/
highlighted: boolean;
}
export interface ComboboxItemProps extends NonNativeButtonProps, Omit, 'id'> {
children?: React.ReactNode;
/**
* An optional click handler for the item when selected.
* It fires when clicking the item with the pointer, as well as when pressing `Enter` with the keyboard if the item is highlighted when the `Input` or `List` element has focus.
*/
onClick?: React.MouseEventHandler;
/**
* The index of the item in the list. Improves performance when specified by avoiding the need to calculate the index automatically from the DOM.
*/
index?: number;
/**
* A unique value that identifies this item.
* @default null
*/
value?: any;
/**
* Whether the component should ignore user interaction.
* @default false
*/
disabled?: boolean;
}
export declare namespace ComboboxItem {
type State = ComboboxItemState;
type Props = ComboboxItemProps;
}