import { User } from '../../types'; import { AccountStatus } from './auth.constants'; export interface RegisterInput { username: string; email: string; password: string; } export interface LoginInput { email: string; password: string; } export interface AuthResponse { user: User; accessToken: string; refreshToken: string; } export interface TokenPayload { userId: string; username: string; } export interface EmailVerificationToken { userId: string; email: string; token: string; expiresAt: Date; } export interface RefreshTokenPayload { userId: string; refreshToken: string; } export interface AuthenticatedUser extends User { status: AccountStatus; email?: string; emailVerified?: boolean; }