import type { Snippet } from 'svelte'; type CardElevation = 'flat' | 'raised'; type CardPadding = 'none' | 'sm' | 'md' | 'lg'; type Props = { /** Visual elevation. @default 'flat' */ elevation?: CardElevation; /** Inner body padding preset. Header/footer inline padding follows it; their block padding stays fixed. @default 'md' */ padding?: CardPadding; header?: Snippet; footer?: Snippet; children: Snippet; /** * Presence of `on.click` switches the card to button-mode: rendered as `