import type { HTMLAttributes, ReactNode } from "react"; /** * Alert — persistent inline notice. Distinct from `Toast` (transient, * corner-positioned, multiple stackable) and `EmptyState` (centered card * for no-data affordances). Full-width-of-section banner that stays * visible until the user acts. * * `intent` drives icon + color tokens. `destructive` intent renders * `role="alert"` for assertive screen-reader announcement; the other * three intents render `role="status"` (polite). `onDismiss`, when * provided, renders a trailing `X` button. `action` slot accepts any * ReactNode (typically a `} * /> */ export type AlertIntent = "info" | "success" | "warning" | "destructive"; export interface AlertProps extends Omit, "title" | "role" | "children"> { intent?: AlertIntent; title?: ReactNode; description?: ReactNode; action?: ReactNode; onDismiss?: () => void; } declare const Alert: import("react").ForwardRefExoticComponent>; export { Alert };