import { Module } from "@nu-art/ts-common";
import * as React from "react";
import { RoutePath } from "./route";
declare class RoutingModule_Class extends Module<{}> {
    private readonly routes;
    private readonly ordinalRoutes;
    private createNavLinkNode;
    private createRouteNode;
    constructor();
    init(): void;
    clearRoutes(): void;
    addRoute(key: string, route: string, component: React.ComponentClass | string): RoutePath;
    getRoute(key: string): RoutePath;
    redirect(key: string): JSX.Element;
    getMyRouteKey: () => string | undefined;
    getNavLinks(keys: string[]): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>[];
    getRoutesMap(): JSX.Element;
}
export declare const RoutingModule: RoutingModule_Class;
export {};
