import type { RouteContext } from "../types"; import type { Params, State } from "@real-router/core"; /** * `useRoute()`'s return type: same shape as `RouteContext
` but with * `route.current` narrowed to non-nullable `State
` (the composable's * `if (!ctx.route.current) throw` guard makes this safe). */ type ActiveRouteContext
= Omit ;
};
};
export declare const useRoute: () => ActiveRouteContext ;
export {};