import { Router, RouteChangeHandler, RouterConfig } from './router'; export declare class MockRouteChangeHandler implements RouteChangeHandler { private callback; onRouteChange(callback: () => void): void; publishRouteChange(): void; } export declare const buildMockHistory: () => History; export declare const buildTestRouter: (config: RouterConfig, { initialPath }?: { initialPath?: string | undefined; }) => TestRouter; export declare class TestRouter extends Router { constructor(config: RouterConfig, initialPath: string); navigate(url: string): void; }