import { CardAction } from './card-action.js';
import { CardImage } from './card-image.js';

/**
 * A Hero card (card with a single, large image)
 */
type HeroCard = {
    /**
     * Title of the card
     */
    title?: string;
    /**
     * Subtitle of the card
     */
    subtitle?: string;
    /**
     * Text for the card
     */
    text?: string;
    /**
     * Array of images for the card
     */
    images?: CardImage[];
    /**
     * Set of actions applicable to the current card
     */
    buttons?: CardAction[];
    /**
     * This action will be activated when user taps on the card itself
     */
    tap?: CardAction;
};

export type { HeroCard };
