import React from 'react'; import type { SegmentedControlItemConfig } from './types'; export interface SegmentedItemProps extends SegmentedControlItemConfig { /** * Whether the segment option is selected. */ selected?: boolean; /** * The size of the segment option. */ size?: 'medium' | 'large'; /** * The callback function to be called when the segment option is pressed. */ onPress: () => void; } declare const SegmentedItem: ({ label, prefix, suffix, selected, size, testID, onPress, disabled, badge, subText, }: SegmentedItemProps) => React.JSX.Element; export default SegmentedItem;