import type { Snippet } from 'svelte'; interface Props { /** Current error text; empty string renders the (silent) live regions only. */ error: string; /** Success text, announced politely. Empty = none. */ success?: string; /** Alert size — `md` where the message is the page's whole content (VerifyEmailPage). */ size?: 'sm' | 'md'; unstyled?: boolean; /** Classes for the error Alert (pass the component's resolved `error` slot). */ class?: string; /** Classes for the success Alert (the component's resolved `success` slot). */ successClass?: string; /** * Rendered while there is nothing to announce — a pending state that has * to live in the same region so that its replacement by the outcome is one * announced content change (VerifyEmailPage's spinner). */ children?: Snippet; } declare const FormErrorAlert: import("svelte").Component; type FormErrorAlert = ReturnType; export default FormErrorAlert;