import "next-auth"; import "next-auth/jwt"; declare module "next-auth" { interface Session { accessToken?: string; user: { username?: string; isPro?: boolean; name?: string | null; email?: string | null; image?: string | null; }; } interface User { username?: string; isPro?: boolean; } } declare module "next-auth/jwt" { interface JWT { accessToken?: string; username?: string; isPro?: boolean; } }