import type { auth } from '@/modules/auth/auth'; type AuthSession = typeof auth.$Infer.Session; export type BackendEnv = { Variables: { user: AuthSession['user'] | null; session: AuthSession['session'] | null; requestId: string; }; }; declare module 'hono' { interface ContextVariableMap { user: AuthSession['user'] | null; session: AuthSession['session'] | null; requestId: string; } }