type AppRouter = typeof appRouter on the server side works as expected, regardless of relative / path alias import. But only upon client side import, the type isn't inferred properly anymore?paths within the child packages in monorepos is a bad idea :/@/ alias for the src/ dir of the current package seems impossible (unless you risk a merged type alias).