Security question about tRCP

FFearlessSlug5/11/2023
If I export the tRCP router as type in order to import that type in my client JS, wouldn't it mean the entire backend code of my tRCP router would leak to the client file?