import type { RouterError, State } from "@real-router/core"; import type { Snippet } from "svelte"; interface Props { children: Snippet; fallback: Snippet<[RouterError, () => void]>; onError?: (error: RouterError, toRoute: State | null, fromRoute: State | null) => void; } declare const RouterErrorBoundary: import("svelte").Component; type RouterErrorBoundary = ReturnType; export default RouterErrorBoundary;