/** * [WHO]: Card — surface container with Header / Title / Description / Content / Footer parts. * [FROM]: React + `@/lib/utils` cn + CVA. * [TO]: sparkdesign package consumers; output of CLI `add card` when registered. * [HERE]: registry/basic/card.tsx — Spark Design source; keep aligned with the main library. * * [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 cardVariants: (props?: ({ variant?: "outline" | "ghost" | "filled" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface CardProps extends React.HTMLAttributes, VariantProps { } declare const Card: React.ForwardRefExoticComponent>; declare const CardHeader: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CardTitle: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CardDescription: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CardAction: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CardContent: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CardFooter: React.ForwardRefExoticComponent & React.RefAttributes>; export type CardHeaderProps = React.HTMLAttributes; export type CardTitleProps = React.HTMLAttributes; export type CardDescriptionProps = React.HTMLAttributes; export type CardActionProps = React.HTMLAttributes; export type CardContentProps = React.HTMLAttributes; export type CardFooterProps = React.HTMLAttributes; export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardContent, CardFooter, cardVariants, };