import { CardSize, CardVariant, SlotAlignment, CardTarget } from './exports'; /** * A flexible content container supporting portrait and landscape layouts with image, headline, description, badge, and optional button. * * Example: * ``` * * * * Card title * Supporting description text. * Learn more * * * * * * Landscape card * Description text. * * ``` * * @part card - The card container element. * @part content - The container for the headline, description, and subtext content. * @part body - The container for the badge and content elements. * * @slot image - Image placed at the top of a portrait card * @slot icon - Icon placed at the top of a portrait card * @slot leading - Leading visual element for landscape cards (for image or icon) * @slot badge - Badge element placed above the headline * @slot headline - Card headline text * @slot description - Secondary descriptive text below the headline * @slot subtext - Tertiary text below the description * @slot button - Call-to-action button (portrait cards only) * @slot trailing-icon - Trailing icon placed at the end of landscape cards * */ export declare class Card { host: HTMLRCardElement; /** Defines the layout of the component **/ variant: CardVariant; /** Defines the size of the component. Only applies in portrait variant */ size: CardSize; /** Defines href for the interactive card */ href?: string; /** * Defines the target for the linked URL when `href` is provided. * Options: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. */ target?: CardTarget; /** Defines the heading level for the headline. */ headingAriaLevel: number; /** Truncates the headline text with an ellipsis if it exceeds the available space. */ truncateHeadline: boolean; /** Truncates the description text with an ellipsis if it exceeds the available space. */ truncateDescription: boolean; /** Truncates the subtext with an ellipsis if it exceeds the available space. */ truncateSubtext: boolean; /** Defines the vertical alignment of the leading slot content (e.g. image or icon). */ leadingSlotAlignment: SlotAlignment; /** Defines the vertical alignment of the trailing slot. */ trailingSlotAlignment: SlotAlignment; private level; private hasButton; private hasHeadline; onLevelChange(val: number): void; private onButtonSlotChange; private onHeadlineSlotChange; componentWillLoad(): void; private get isPortrait(); private renderHeadline; render(): any; }