import * as i0 from '@angular/core'; import { InputSignal, InputSignalWithTransform, OutputEmitterRef, Signal } from '@angular/core'; import { VariantProps } from 'class-variance-authority'; type CardVariant = 'elevated' | 'outlined' | 'filled' | 'ghost'; type CardPadding = 'none' | 'sm' | 'md' | 'lg'; type CardRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl'; type CardAlign = 'start' | 'end' | 'center' | 'between'; type CardActionsDirection = 'row' | 'column'; type CardMediaPosition = 'top' | 'bottom' | 'inset'; type CardAccentColor = 'primary' | 'accent' | 'warn' | 'success' | 'muted'; type CardAccentPosition = 'top' | 'left'; type CardBadgeColor = 'primary' | 'accent' | 'warn' | 'success' | 'muted'; type CardBadgePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; /** * CVA variants for the card container. * * @tokens `--color-card`, `--color-card-foreground`, `--color-muted`, `--color-muted-hover`, * `--color-foreground`, `--color-border`, `--color-primary`, `--color-ring`, `--shadow-card` */ declare const cardVariants: (props?: { variant?: CardVariant; padding?: CardPadding; radius?: CardRadius; interactive?: boolean; }) => string; type CardVariants = VariantProps; /** * CVA variants for card footer alignment. */ declare const cardFooterVariants: (props?: { align?: CardAlign; }) => string; type CardFooterVariants = VariantProps; /** * CVA variants for card actions. */ declare const cardActionsVariants: (props?: { align?: CardAlign; direction?: CardActionsDirection; }) => string; type CardActionsVariants = VariantProps; /** * CVA variants for card media positioning. */ declare const cardMediaVariants: (props?: { position?: CardMediaPosition; }) => string; type CardMediaVariants = VariantProps; /** * CVA variants for card accent strip. * * @tokens `--color-primary`, `--color-accent`, `--color-warn`, `--color-success`, `--color-muted` */ declare const cardAccentVariants: (props?: { color?: CardAccentColor; position?: CardAccentPosition; }) => string; type CardAccentVariants = VariantProps; /** * CVA variants for card badge overlay. * * @tokens `--color-primary`, `--color-primary-foreground`, `--color-accent`, `--color-accent-foreground`, * `--color-warn`, `--color-warn-foreground`, `--color-success`, `--color-success-foreground`, * `--color-muted`, `--color-muted-foreground`, `--radius-card`, `--radius-media`, `--radius-pill` */ declare const cardBadgeVariants: (props?: { position?: CardBadgePosition; color?: CardBadgeColor; }) => string; type CardBadgeVariants = VariantProps; /** * Card container component - a styled surface for content. * * The card is a pure container with no imposed structure. * Use card directives (comCardHeader, comCardContent, etc.) to compose layouts. * * @tokens `--color-card`, `--color-card-foreground`, `--color-muted`, `--color-muted-foreground`, * `--color-muted-hover`, `--color-border`, `--color-primary`, `--color-ring`, `--shadow-card` * * @example Basic card * ```html * *
Simple content
*
* ``` * * @example Interactive card * ```html * *
Clickable card
*
* ``` * * @example Outlined variant with custom padding * ```html * *

Outlined card with medium padding

*
* ``` */ declare class ComCard { /** Visual treatment of the card surface. */ readonly variant: InputSignal; /** Inner spacing. Default 'none' - sub-parts manage their own padding. */ readonly padding: InputSignal; /** Border radius. */ readonly radius: InputSignal; /** When true, adds hover/active states and cursor-pointer. */ readonly interactive: InputSignalWithTransform; /** Consumer CSS classes - merged with variant classes. */ readonly userClass: InputSignal; /** Emitted when an interactive card is activated via keyboard (Enter or Space). */ readonly cardActivated: OutputEmitterRef; protected readonly computedClass: Signal; protected onKeyActivate(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Card header directive - top section for title and actions. * * Uses `flex` with `justify-between` so it naturally supports a title group * on the left and an action element (icon button, menu trigger) on the right. * * **Important:** When using both `comCardTitle` and `comCardSubtitle`, * wrap them in a container `
` so they stack vertically as a single * flex child. Without the wrapper, `justify-between` will push them apart. * * @example Header with title only * ```html *
*

Card Title

*
* ``` * * @example Header with title, subtitle, and action * ```html *
*
*

Title

*

Subtitle

*
* *
* ``` * * @tokens None - uses only layout utilities */ declare class ComCardHeader { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card title directive - styled heading text. * * Apply to any heading element. Consumer picks the semantic level (h2, h3, etc.). * * @example * ```html *

Project Alpha

* ``` * * @tokens `--color-foreground` */ declare class ComCardTitle { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card subtitle directive - secondary text styling. * * @example * ```html *

Last updated 2 hours ago

* ``` * * @tokens `--color-muted-foreground` */ declare class ComCardSubtitle { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card content directive - main body area with consistent padding. * * @example * ```html *
*

Card body content goes here.

*
* ``` * * @tokens None - uses only layout utilities */ declare class ComCardContent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card footer directive - bottom section for metadata or secondary actions. * * @example Footer with alignment * ```html *
* Updated 3m ago * View details *
* ``` * * @tokens None - uses only layout utilities */ declare class ComCardFooter { /** Horizontal alignment of footer content. */ readonly align: InputSignal; /** Consumer CSS classes - merged with variant classes. */ readonly userClass: InputSignal; protected readonly computedClass: Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card actions directive - dedicated button row for primary card actions. * * Separate from footer because actions and footer metadata serve different purposes. * * @example Actions with alignment * ```html *
* * *
* ``` * * @example Stacked column layout * ```html *
* * *
* ``` * * @tokens None - uses only layout utilities */ declare class ComCardActions { /** Horizontal alignment of actions. */ readonly align: InputSignal; /** Layout direction - row or column. */ readonly direction: InputSignal; /** Consumer CSS classes - merged with variant classes. */ readonly userClass: InputSignal; protected readonly computedClass: Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Card media directive - image/video slot with aspect ratio handling. * * Apply to ,