import 'normalize.css';
import './util.css';
import { Router, Route } from './router';
import Page, { DataPage } from './page';
import * as ReactDom from 'react-dom';
import * as React from 'react';
import { Component } from 'react';
import { Link } from 'react-router-dom';
import { ViewController } from './ctr';
export interface RootProps {
    routes?: Route[];
    notFound?: typeof Page;
}
export declare class Root<P extends RootProps = {}, S = {}> extends ViewController<P, S> {
    loadingText: string;
    protected triggerLoad(): Promise<void>;
    get history(): import("./page").History;
    render(): JSX.Element;
    static get current(): Root<{}, {}>;
}
export { React, ReactDom, Component, Router, Page, DataPage, Link, ViewController, };
