import type { RouteConfig as ControllerRouteConfig } from './Routes';
import { Routes } from './Routes';
/**
 * A root-level router that installs global event listeners to intercept
 * navigation via anchor clicks and browser history changes.
 *
 * This class extends `Routes` so that it can also hold a route configuration.
 *
 * There should only be one `Router` instance on a page because it installs
 * global event listeners on `window`. Nested routes should use the `Routes`
 * class instead.
 *
 * @public
 */
export declare class Router extends Routes {
    private _windowClickSubscription;
    private _windowPopStateSubscription;
    /**
     * @public
     * @override
     */
    hostConnected(): void;
    /**
     * @public
     * @override
     */
    hostDisconnected(): void;
    /**
     * Intercepts anchor clicks for in-page navigation.
     *
     * @private
     */
    private onWindowClick;
    /**
     * Handles browser history navigation (back/forward).
     *
     * @private
     */
    private onWindowPopState;
    /**
     * Finds an anchor element in the event's composed path.
     *
     * @param path - The composed event path.
     * @returns An `IRouterLinkLike` object if a valid anchor is found, otherwise `undefined`.
     *
     * @private
     */
    private findAnchor;
}
export type { ControllerRouteConfig as RouteConfig };
//# sourceMappingURL=Router.d.ts.map