import type { HTMLAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
type AlertVariant = 'success' | 'warning' | 'error' | 'info';
interface Props extends HTMLAttributes {
/** Colour variant — drives the tag glyph and border accent. @default 'info' */
variant?: AlertVariant;
/** Bold title text shown in the alert header. */
title?: string;
/** Body message text. */
message?: string;
/** When provided, renders a dismiss × button inside the alert. */
ondismiss?: () => void;
children?: Snippet;
[key: string]: unknown;
}
declare const Alert: import("svelte").Component;
type Alert = ReturnType;
export default Alert;