export default Alert; type Alert = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial>): void; }; /** * Inline alert message. * @see https://w3c.github.io/aria/#alert * @see https://www.w3.org/WAI/ARIA/apg/patterns/alert/ */ declare const Alert: import("svelte").Component<{ /** * Alert status. Errors and warnings * are `role="alert"` and interrupt; information and success are `role="status"` and wait. */ status: "error" | "warning" | "info" | "success"; /** * ARIA live region politeness. Defaults to * `assertive` for an alert and `polite` for a status. */ ariaLive?: "off" | "polite" | "assertive" | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Icon slot content. */ icon?: Snippet<[]> | undefined; } & Record, {}, "">; type Props = { /** * Alert status. Errors and warnings * are `role="alert"` and interrupt; information and success are `role="status"` and wait. */ status: "error" | "warning" | "info" | "success"; /** * ARIA live region politeness. Defaults to * `assertive` for an alert and `polite` for a status. */ ariaLive?: "off" | "polite" | "assertive" | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Icon slot content. */ icon?: Snippet<[]> | undefined; }; import type { Snippet } from 'svelte';