import type { HTMLAttributes } from "svelte/elements"; import type { ToastVariant } from "../../stores/toast.js"; interface Props extends HTMLAttributes { /** Unique toast ID (used by the dismiss callback). */ id: string; /** Text content of the notification. */ message: string; /** Optional title text shown above the message. */ title?: string; /** Colour variant — also sets the ARIA live region type. @default 'success' */ variant?: ToastVariant; /** Called with the toast `id` when the dismiss button is clicked. */ ondismiss: (id: string) => void; } declare const Toast: import("svelte").Component; type Toast = ReturnType; export default Toast;