/** * [WHO]: Attachment, AttachmentMedia, AttachmentContent, AttachmentTitle, AttachmentDescription, AttachmentActions, AttachmentAction. * [FROM]: React + class-variance-authority + @/lib/utils. * [TO]: sparkdesign package consumers; output of CLI `add attachment` when applicable. * [HERE]: registry/chat/attachment.tsx — tokenized chat attachment primitive compatible with shadcn-style composition. * * [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 attachmentVariants: (props?: ({ state?: "done" | "error" | "pending" | "uploading" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AttachmentProps extends React.HTMLAttributes, VariantProps { } declare const Attachment: React.ForwardRefExoticComponent>; export type AttachmentMediaProps = React.HTMLAttributes; declare const AttachmentMedia: React.ForwardRefExoticComponent>; export type AttachmentContentProps = React.HTMLAttributes; declare const AttachmentContent: React.ForwardRefExoticComponent>; export type AttachmentTitleProps = React.HTMLAttributes; declare const AttachmentTitle: React.ForwardRefExoticComponent>; export type AttachmentDescriptionProps = React.HTMLAttributes; declare const AttachmentDescription: React.ForwardRefExoticComponent>; export type AttachmentActionsProps = React.HTMLAttributes; declare const AttachmentActions: React.ForwardRefExoticComponent>; export type AttachmentActionProps = React.ButtonHTMLAttributes; declare const AttachmentAction: React.ForwardRefExoticComponent>; export { Attachment, AttachmentMedia, AttachmentContent, AttachmentTitle, AttachmentDescription, AttachmentActions, AttachmentAction, attachmentVariants, };