import { Router, RouterConfig } from '../../services/router';
export type { RouterConfig };
export interface UseRouterResult {
    /** The underlying Router instance. */
    router: Router;
    /** Current pathname, updated on each navigation event. */
    pathname: string;
    /** Stable navigate function bound to the router instance. */
    navigate: (path: string) => void;
}
/**
 * @param config - Optional RouterConfig forwarded to the Router constructor.
 *   Pass a stable reference to avoid teardown / re-creation on every render.
 */
export declare function useRouter(config?: RouterConfig): UseRouterResult;
//# sourceMappingURL=useRouter.d.ts.map