import * as React from 'react'; import { Pressable } from 'react-native'; import type { ZestUIComponentProps } from '../../types'; /** * An individual option in the select. * Renders a ``. */ export declare function SelectItem(componentProps: SelectItem.Props): React.JSX.Element; export interface SelectItemState { /** * Whether the component should ignore user interaction. */ disabled: boolean; /** * Whether the item is currently pressed. */ pressed: boolean; /** * Whether the item is selected. In a `multiple` select, whether it is among * the selected values. */ selected: boolean; /** * The item's index in the list, in visual order. */ index: number; } export interface SelectItemProps extends Omit, 'value' | 'onPress'> { /** * The value this item selects. */ value: Value; /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean | undefined; } export declare namespace SelectItem { type State = SelectItemState; type Props = SelectItemProps; } //# sourceMappingURL=SelectItem.d.ts.map