/** * SvAlert - an inline, persistent contextual message (info / success / warning * / danger / neutral) with an icon, optional title, dismiss button and trailing * actions. Unlike SvToast (transient, floating), an alert stays in the layout. * Theme-driven via `--sg-*` semantic tokens. Parity: Smart alert / message. */ import type { Snippet } from 'svelte'; type Variant = 'info' | 'success' | 'warning' | 'danger' | 'neutral'; type Props = { variant?: Variant; title?: string; /** Show a close (x) button. */ dismissible?: boolean; onDismiss?: () => void; /** Hide the leading status icon. */ hideIcon?: boolean; /** Softer, borderless tint vs the default bordered card. */ soft?: boolean; children?: Snippet; /** Trailing action buttons / links. */ actions?: Snippet; /** Custom leading icon (overrides the default glyph). */ icon?: Snippet; }; declare const SvAlert: import("svelte").Component; type SvAlert = ReturnType; export default SvAlert;