import * as React from 'react'; import { ICardHeaderProps, ICardProps } from '../card'; import { ICheckboxProps } from '../checkbox'; import { IRadioProps } from '../radio'; import { SelectableCardClasses } from './selectable-card-classes'; type SelectableControlProps = 'checked' | 'onChange' | 'name' | 'disabled'; export type SelectableCardControlType = 'radio' | 'checkbox'; export interface ISelectableCardProps extends Omit, Pick, Pick, Pick { /** * Props forwarded to the Checkbox component when type === "checkbox" */ CheckboxProps?: ICheckboxProps; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * @deprecated use description helper text rendered in a FormHelperText component */ helperText?: React.ReactNode; /** * Hides control * @default false */ hideControl?: boolean; /** * Hides control * @default false */ controlPlacement?: 'start' | 'end'; /** * @deprecated label for the item. Use `title` */ label?: React.ReactNode; /** * description */ description?: React.ReactNode; /** * Props forwarded to the Radio component when type === "radio" */ RadioProps?: IRadioProps; /** * control type. * @default "checkbox" */ type?: SelectableCardControlType; /** * value. Mainly used for radio control type */ value?: string; /** * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis. * * Note that text overflow can only happen with block or inline-block level elements * (the element needs to have a width in order to overflow). * @default false */ noWrap?: boolean; } export declare const SelectableCard: React.ForwardRefExoticComponent>; export {};