import { CommonProps, IconProps, Refable, TagProps } from "@trackunit/react-components"; import { InputHTMLAttributes, ReactElement, ReactNode } from "react"; export interface OptionCardProps extends InputHTMLAttributes, CommonProps, Refable { /** * Icon displayed at the top inside the OptionCard. */ icon?: ReactElement; /** * Heading displayed below the icon. */ heading?: string; /** * Subheading displayed above the description. */ subheading?: string | ReactNode; /** * Descriptive text displayed inside the OptionCard. */ description?: string | ReactNode; /** * A custom image to be displayed instead of icon (ex logo) */ customImage?: CustomImage; /** * Styles for the OptionCard content. */ contentClassName?: string; /** * The layout of the component. */ layout?: "compact" | "default"; /** * Props for the tag. */ tagProps?: TagProps; } interface CustomImage { src: string; className: string; } /** * A card version of a radio button that includes an icon, headings and a description. */ export declare const OptionCard: { ({ icon, heading, subheading, description, disabled, id, value, className, contentClassName, "data-testid": dataTestId, customImage, layout, ref, tagProps, ...rest }: OptionCardProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export {};