import type { ComponentType, LazyExoticComponent, PropsWithChildren } from "react"; import { withSuspense } from "../suspense/Suspense"; export type ILoaderProps = Record; export type LoaderComponent = ComponentType; export declare const Loader: LoaderComponent; export declare function lazyLoad(ComponentToLoad: LazyExoticComponent): (props: PropsWithChildren) => ReturnType;