import type { Snippet } from 'svelte'; interface ErrorBoundaryProps { title?: string; description?: string; retryLabel?: string; /** Show technical error message / stack */ showDetails?: boolean; /** compact = inline alert ยท panel = centered empty-state card */ variant?: 'compact' | 'panel'; class?: string; children?: Snippet; fallback?: Snippet<[{ error: Error; reset: () => void; }]>; onerror?: (error: unknown) => void; onreset?: () => void; } declare const ErrorBoundary: import("svelte").Component; type ErrorBoundary = ReturnType; export default ErrorBoundary;