/// import { StyleProp, ViewStyle } from 'react-native'; import type { IconSource } from '../Icon/Icon'; declare type ConditionalValue = { value: string[]; multiSelect: true; onValueChange: (value: string[]) => void; } | { value: string; multiSelect?: false; onValueChange: (value: string) => void; }; export declare type Props = { buttons: { value: string; icon?: IconSource; disabled?: boolean; onPress?: () => void; label?: string; showSelectedCheck?: boolean; style?: StyleProp; }[]; density?: 'regular' | 'small' | 'medium' | 'high'; style?: StyleProp; } & ConditionalValue; declare const SegmentedButtons: ({ value, onValueChange, buttons, multiSelect, density, style, }: Props) => JSX.Element; export default SegmentedButtons; export { SegmentedButtons };