/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/basic/alert-dialog.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 * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import { type VariantProps } from 'class-variance-authority'; declare const AlertDialog: React.FC; declare const AlertDialogTrigger: React.ForwardRefExoticComponent>; declare const AlertDialogPortal: React.FC; declare const AlertDialogOverlay: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const contentVariants: (props?: ({ size?: "default" | "sm" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AlertDialogContentProps extends React.ComponentPropsWithoutRef, VariantProps { size?: 'default' | 'sm'; /** When provided (e.g. from ThemeStyleProvider), used for portal wrapper */ dataStyle?: string; dataTheme?: string; } declare const AlertDialogContent: React.ForwardRefExoticComponent>; declare const AlertDialogHeader: React.ForwardRefExoticComponent & React.RefAttributes>; declare const AlertDialogFooter: React.ForwardRefExoticComponent & React.RefAttributes>; declare const AlertDialogTitle: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AlertDialogDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const actionVariants: (props?: ({ destructive?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AlertDialogActionProps extends React.ComponentPropsWithoutRef, VariantProps { destructive?: boolean; } declare const AlertDialogAction: React.ForwardRefExoticComponent>; declare const AlertDialogCancel: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export { AlertDialog, AlertDialogTrigger, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, }; export { contentVariants as alertDialogContentVariants, actionVariants as alertDialogActionVariants };