import { type CSSResultGroup, LitElement, type PropertyValues, type TemplateResult } from "lit"; /** * @summary A component for displaying discount cards with various appearances. * * @tag tapsi-discount-card * * @slot [action] - The slot for actions associated with the component, typically a collection of `tapsi-button` components. * @slot [thumbnail] - The slot for custom image. * @slot [header-icon] - The slot for header icon. */ export declare class DiscountCard extends LitElement { /** @internal */ static readonly styles: CSSResultGroup; /** * The header title of the discount card. * * @prop {string} headerTitle * @attr {string} header-title * @default "" */ headerTitle: string; /** * The variant of the discount card. * * @prop {"clay" | "whisper" | "azure" | "flame" | "grayscale" | "none"} variant * @attr {"clay" | "whisper" | "azure" | "flame" | "grayscale" | "none"} variant * @default "none" */ variant: "clay" | "whisper" | "azure" | "flame" | "grayscale" | "none"; /** * The title to use for the discount card. * Represents the title of the discount card. * * @prop {string} title * @attr {string} title * @default "" */ title: string; /** * The description of the discount card. * * @prop {string} description * @attr {string} description * @default "" */ description: string; /** * The name/text to display in the badge. * * @prop {string} badgeText * @attr {string} badge-text * @default "" */ badgeText: string; /** * The label for the expiry date of the discount. * * @prop {string} expiryDateLabel * @attr {string} expiry-date-label * @default "" */ expiryDateLabel: string; /** * Check if discount is expiring and if expiring is * true then turn expiry date label into red color. * * @prop {boolean} expiring * @attr {string} expiring * @default false */ expiring: boolean; private _hasHeaderIconSlot; private _hasThumbnailSlot; private _hasActionSlot; private _actionSlotNodes; private _thumbnailSlotNodes; private _headerIconSlotNodes; private _handleActionSlotChange; private _handleThumbnailSlotChange; private _handleHeaderIconSlotChange; private _checkRequiredProps; protected willUpdate(changed: PropertyValues): void; protected updated(changed: PropertyValues): void; private _renderHeadSection; private _renderSideSection; private _renderBodySection; protected render(): TemplateResult; }