import React from 'react'; import { Location, RouterLocationState } from './interfaces'; interface CreateRoutesConfig { withAuth?: boolean; } export declare function createRoutesFrom(modules: any, config?: CreateRoutesConfig): () => JSX.Element; declare type TopLocationContextValue = Location; export declare const TopLocationContext: React.Context; export declare const TopLocationContextProvider: React.FC<{ value: TopLocationContextValue; }>; export declare function useTopLocation(): TopLocationContextValue; export {};