import { ViewRouter } from "@pastweb/tools"; //#region src/router/useRouter/useRouter.d.ts /** * Reads the installed tools `ViewRouter`. * * @returns The router installed with {@link installRouter}. * * @throws When the router context has not been installed. * * @example * ```tsx * const router = useRouter(); * * await router.navigate('/home'); * ``` */ declare function useRouter(): ViewRouter; //#endregion export { useRouter }; //# sourceMappingURL=useRouter.d.ts.map