/** * [WHO]: Alert — inline callout surface (info / warning / success / destructive). * [FROM]: React + CVA + `@/lib/utils` cn. * [TO]: sparkdesign package consumers; output of CLI `add alert` when registered. * [HERE]: registry/basic/alert.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 alertVariants: (props?: ({ variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AlertProps extends React.HTMLAttributes, VariantProps { } declare const Alert: React.ForwardRefExoticComponent>; declare const AlertTitle: React.ForwardRefExoticComponent & React.RefAttributes>; declare const AlertDescription: React.ForwardRefExoticComponent & React.RefAttributes>; export type AlertTitleProps = React.HTMLAttributes; export type AlertDescriptionProps = React.HTMLAttributes; export { Alert, AlertTitle, AlertDescription, alertVariants };