import type { Component } from 'svelte'; export type LazyLoadAction = () => Promise<{ default: Component; }>; export declare const cacheComponents: Map; export declare function lazy(action: () => Promise<{ default: T; }>, name: string): Promise;