import React from 'react'; import { LinkButtonProps } from '../link-button'; import { SwitchProps } from '../switch'; import { CheckboxProps } from '../checkbox/checkbox'; type ListItemControlsBaseProps = { linkButtonProps?: Omit & { text: string; }; subtitleText: string; testID?: string; titleText: string; description?: string; }; type ListItemWithSwitch = { switchProps: SwitchProps; checkboxProps?: never; }; type ListItemWithCheckbox = { switchProps?: never; checkboxProps: CheckboxProps; }; export type ListItemControlsProps = ListItemControlsBaseProps & (ListItemWithSwitch | ListItemWithCheckbox); declare const ListItemSingleLine: ({ linkButtonProps, subtitleText, switchProps, checkboxProps, testID, description, titleText, }: ListItemControlsProps) => React.JSX.Element; export default ListItemSingleLine;