import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
import { type VariantProps } from 'class-variance-authority';
import { type TestableProps } from '../../utils/testId';
import type { AlertColor } from './AlertIcon';
export type { AlertColor };
declare const alertVariants: (props?: ({
color?: "primary" | "destructive" | "info" | "warning" | "success" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export interface AlertProps extends VariantProps, Omit, 'color'>, TestableProps {
ref?: Ref;
/** Color variant of the alert */
color?: AlertColor;
/** Minimum width in pixels (default: 256) */
minWidth?: number;
/** Maximum width in pixels (default: 980) */
maxWidth?: number;
/** Alert content */
children?: ReactNode;
}
/**
* Alert component for displaying important messages to users.
*
* Supports 5 color variants: primary (neutral), destructive, info, warning, and success.
* Use compound components: AlertIcon, AlertContent, AlertClose, AlertControls, AlertActions.
*/
export declare const Alert: FC;