import { GlobalDataType } from './main-config'; import { CSSProperties, FC, ReactNode } from 'react'; import { SwicoHistoryOptionType } from './typings/global-type'; import { useLocation, useNav } from './template-root/.swico-react/hooks'; export type * from './typings/global-type'; export type { ConfigRoutesItemType, GlobalSwicoConfigType, GlobalDataType, ConfigRouterType } from './main-config'; export type CustomConfigType = GlobalDataType['customConfig']; interface LinkPropsType { replace?: boolean; to: string | number | SwicoHistoryOptionType; style?: CSSProperties; className?: string; children: ReactNode; } export declare const Link: FC; export { Outlet } from 'react-router'; export { useLocation, useNav }; export { history } from './mock-history'; export interface DefineSwicoConfigType { (env: 'base', config: CustomConfigType['base']): any; (env: 'dev', config: CustomConfigType['dev']): any; (env: 'prod', config: CustomConfigType['prod']): any; } export declare const defineConfig: DefineSwicoConfigType; export interface DefineGlobalConfigType { onInit?: () => void; } export declare const defineGlobal: (config: DefineGlobalConfigType) => DefineGlobalConfigType;