import { SvelteComponent } from 'svelte'; import type { SvelteComponentTyped } from 'svelte/internal'; type CurrentRouteProp = { name: string; path: string; hash: string; component?: typeof SvelteComponent; layout?: typeof SvelteComponent; queryParams: Record; namedParams: Record; childRoute: CurrentRoute; language?: string; }; export type CurrentRoute = Omit; export interface RouteProps { currentRoute: CurrentRouteProp; params?: Record; } export interface RouteEvents {} export interface RouteSlots {} declare class RouteComponent extends SvelteComponentTyped {} export default RouteComponent;