import type { Snippet } from 'svelte'; import type { ElementKindProps } from '../internal/elementTag.js'; export type CardElement = HTMLDivElement | HTMLButtonElement | HTMLAnchorElement; interface CardBaseProps extends ElementKindProps { variant?: 'elevated' | 'filled' | 'outlined'; image?: string | null; /** Describes `image` for assistive technology. Leave it out for a decorative image. */ imageAlt?: string; element?: HTMLElement; headline?: string | null; subhead?: string | null; supportingText?: string | null; } export type CardProps = CardBaseProps & ({ action?: undefined; } | { action?: Snippet<[]>; type?: 'text' | null; href?: never; onclick?: never; command?: never; popovertarget?: never; }); export {};