import type { Snippet } from 'svelte'; export type UserCardStatus = 'online' | 'offline' | 'busy' | 'away'; export type UserCardVariant = 'profile' | 'compact' | 'cover'; interface UserCardProps { name: string; email?: string; role?: string; bio?: string; location?: string; avatar?: string; /** Soft gradient / image behind the header (cover variant) */ cover?: string; status?: UserCardStatus; badge?: string; badgeTone?: 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info' | 'secondary'; /** Meta stats under the identity, e.g. followers */ stats?: { label: string; value: string | number; }[]; primaryAction?: string; secondaryAction?: string; variant?: UserCardVariant; class?: string; actions?: Snippet; footer?: Snippet; onprimary?: () => void; onsecondary?: () => void; /** @deprecated use primaryAction */ actionLabel?: string; /** @deprecated use onprimary */ onaction?: () => void; } declare const UserCard: import("svelte").Component; type UserCard = ReturnType; export default UserCard;