import { ForwardRefExoticComponent, RefAttributes, ComponentProps, ReactNode } from 'react'; import { VariantProps } from 'class-variance-authority'; import { ClassProp } from 'class-variance-authority/types'; type AlertVariant = 'default' | 'info' | 'warning' | 'error'; /** @deprecated Use `'info'` instead. Will be removed in a future major release. */ type DeprecatedAlertVariant = 'secondary'; type AlertVariantInput = AlertVariant | DeprecatedAlertVariant; type AlertStyle = 'card' | 'strip'; interface AlertVariantProps { variant?: 'default' | 'error' | 'info' | 'warning' | null; alertStyle?: 'card' | 'strip' | null; } declare const alertVariants: (props?: (AlertVariantProps & ClassProp) | undefined) => string; type AlertProps = ComponentProps<'div'> & Omit, 'variant'> & { variant?: AlertVariantInput; alertStyle?: AlertStyle; visible?: boolean; defaultVisible?: boolean; onClose?: () => void; icon?: ReactNode; }; declare const Alert: ForwardRefExoticComponent & RefAttributes>; declare const AlertTitle: ForwardRefExoticComponent & RefAttributes>; declare const AlertDescription: ForwardRefExoticComponent & RefAttributes>; declare const AlertActions: ForwardRefExoticComponent & RefAttributes>; type AlertButtonVariant = 'default' | 'ghost'; declare const AlertButton: ForwardRefExoticComponent & { variant?: AlertButtonVariant; }, 'ref'> & RefAttributes>; declare const AlertClose: ForwardRefExoticComponent & RefAttributes>; export { Alert, AlertTitle, AlertDescription, AlertActions, AlertButton, AlertClose, };