import NextAuth, { DefaultSession } from "next-auth"; declare module "next-auth" { interface Session { accessToken?: string; isPro?: boolean; } interface User { username?: string; isPro?: boolean; } } declare module "next-auth/jwt" { interface JWT { accessToken?: string; username?: string; isPro?: boolean; } }