import type { ClassValue } from 'svelte/elements'; import { type IconName } from '../icon'; import type { BadgeVariantType } from './variants'; interface Props { /** The badge text. */ label: string; /** The color theme of the badge. */ variant?: BadgeVariantType; /** An optional icon to show in the badge. */ icon?: IconName; /** Additional CSS classes to pass to the badge. */ cx?: ClassValue; } /** * The badge is often used to display status information. * * ```svelte * * ``` */ declare const Badge: import("svelte").Component; type Badge = ReturnType; export default Badge;