import React from 'react'; import { RouteObject } from 'react-router-dom'; import type { AppConfig } from './types/AppConfig'; import type { XConsoleAppProps } from './types/XConsoleApp'; import type { RouteItem } from './types/RouteConfig'; export declare const getRouteGlobalConfig: (appConfig?: AppConfig) => { basename: string | undefined; redirect: string | undefined; routes: RouteItem[] | undefined; alias: Record | undefined; ErrorBoundary: React.ComponentType | undefined; }; export declare const createRoutesFromConfig: (appProps: XConsoleAppProps) => { routes: RouteObject[]; patterns: string[]; };