import { IndexRouteObject, NonIndexRouteObject } from 'react-router'; import { FCCRoute, FCRoute } from "../interfaces/fc-route.js"; import { TOnlyClientProp } from "../interfaces/route-object.js"; type IDynamicRoute = () => Promise<{ default: FCRoute | FCCRoute; }>; type ImmutableRouteKey = 'lazy' | 'caseSensitive' | 'path' | 'id' | 'index' | 'children'; type IAsyncRoute = { pathId?: string; } & (Omit | Omit); /** * Import dynamic route */ declare const importRoute: (route: IDynamicRoute, onlyClient?: TOnlyClientProp) => (() => Promise); export { importRoute as default, IDynamicRoute, ImmutableRouteKey, IAsyncRoute };