import { VariantProps } from 'class-variance-authority';
import * as React from "react";
declare const alertVariants: (props?: ({
variant?: "default" | "destructive" | "success" | "info" | "warning" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
/**
* Props for the ZeroShot Alert component.
*
* @example Compositional API:
* ```tsx
*
*
* Error
* Something went wrong.
*
* ```
*
* @example Config API (AI-optimized):
* ```tsx
*
* ```
*/
export interface AlertProps extends React.HTMLAttributes, VariantProps {
/**
* Config API: Alert title text.
* When provided, auto-renders an AlertTitle with appropriate icon.
* @example
*/
title?: string;
/**
* Config API: Alert description text.
* @example
*/
description?: string;
/**
* Custom icon to override the auto-selected variant icon.
* Only used in Config API mode (when `title` is provided).
* @example } />
*/
icon?: React.ReactNode;
/**
* When true, renders a close button in the top-right corner.
* @default false
*/
closable?: boolean;
/**
* Callback fired when the close button is clicked.
* Only relevant when `closable` is true.
*/
onClose?: () => void;
}
declare const Alert: React.MemoExoticComponent>>;
declare const AlertTitle: React.MemoExoticComponent & React.RefAttributes>>;
declare const AlertDescription: React.MemoExoticComponent & React.RefAttributes>>;
export { Alert, AlertTitle, AlertDescription, alertVariants };
//# sourceMappingURL=alert.d.ts.map