/** * SummaryCard - Statistic/summary display card refactored for Material 3 * * Shows a label with a prominent value, optionally with a count badge * and link functionality. */ import type { Snippet } from 'svelte'; export interface Props { /** Card label */ label: string; /** Primary value to display */ value: string | number; /** Optional count badge */ count?: number; /** Highlight the card */ highlight?: boolean; /** Make card clickable with href */ href?: string; /** Optional icon name, rendered via the {@link Icon} component. */ icon?: string; /** * Optional custom icon content, rendered as a Svelte snippet. Use this * escape hatch for bespoke icon markup. It replaces the former raw-SVG * **string** support, removed in #1591: SummaryCard no longer renders any * consumer-supplied value via `{@html}` (an XSS sink). `iconContent` is * rendered as a snippet, so the trust boundary moves to the consumer — the * snippet's contents are whatever the consumer authors. When both * `iconContent` and `icon` are provided, `iconContent` wins. */ iconContent?: Snippet; /** Value color variant */ variant?: 'default' | 'success' | 'warning' | 'danger'; } declare const SummaryCard: import("svelte").Component; type SummaryCard = ReturnType; export default SummaryCard; //# sourceMappingURL=SummaryCard.svelte.d.ts.map