import React, { PureComponent, ReactElement } from 'react'; interface RouteProps { path: string; children: ReactElement; } interface PureRouterProps { prefix: string; children?: any; } export declare class PureRouter extends PureComponent { static routes: RouteProps[]; static notFound?: ReactElement; static notAllowed?: ReactElement; static serverError?: ReactElement; static reset: () => void; static addRoute: (path: string, children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => void; static setNotFound: (component: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => void; static setNotAllowed: (component: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => void; static setServerError: (component: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => void; static redirect: (path: string) => void; render(): JSX.Element; } export {};