/** * [WHO]: Badge component for compact labels and statuses. * [FROM]: React, @radix-ui/react-slot, class-variance-authority, registry/lib/utils. * [TO]: sparkdesign package consumers; Showcase; CLI registry copies. * [HERE]: registry/basic/badge.tsx — tokenized status/category badge primitive. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const badgeVariants: (props?: ({ variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps & { asChild?: boolean; }): import("react/jsx-runtime").JSX.Element; export type BadgeProps = React.ComponentProps<"span"> & VariantProps & { asChild?: boolean; }; export { Badge, badgeVariants };