import { Component } from 'react';
import Page, { History } from './page';
export declare const history: History;
export interface Route extends Dict {
    path: string | string[];
    page(): Promise<any>;
    exact?: boolean;
}
export declare class Router extends Component<{
    notFound?: typeof Page;
    routes?: Route[];
}> {
    private _routes;
    private _notFound;
    private _current;
    constructor(props: any);
    get current(): Page;
    get history(): History;
    render(): JSX.Element;
}
