declare global {
  namespace Express {
    interface Request {
      auth?: {
        user: {
          id: string;
          email: string;
          name?: string | null;
        };
        session: {
          id: string;
          userId: string;
        };
      };
      deviceAuth?: {
        userId: string;
        deviceId: string;
        role: 'camera' | 'client';
        exp: number;
      };
    }
  }
}

export {};
