import React from 'react'; import { type GlassVariant } from '../../../lib/glass'; import { type ComposableProps } from '../../../lib/slot'; export type AlertVariant = 'info' | 'success' | 'warning' | 'danger'; export type AlertRadius = 'none' | 'sm' | 'md' | 'lg'; export interface AlertProps extends Omit, 'onChange'> { /** * Alert content (composable API) */ children?: React.ReactNode; /** * Alert variant/style * @default 'info' */ variant?: AlertVariant; /** * Show close button * @default false */ closable?: boolean; /** * Banner style (full width, no border radius) * @default false */ banner?: boolean; /** * Border radius */ radius?: AlertRadius; /** * Glass morphism variant */ glass?: GlassVariant; /** * Close callback */ onClose?: () => void; } /** * Alert Component * * A versatile alert component for displaying important messages to users. * Uses a composable API with sub-components for maximum flexibility. * * @public * * @example * ```tsx * * * Information * This is an info alert message * * * * * * ``` * * @remarks * - All sub-components (AlertIcon, AlertTitle, AlertDescription, etc.) support `asChild` * - Supports multiple variants: info, success, warning, danger * - Accessible: includes ARIA attributes and proper role */ export declare const Alert: React.ForwardRefExoticComponent>; //# sourceMappingURL=Alert.d.ts.map