/**
 * Shared utilities and types for Redirect Intelligence v2
 */

export * from './types/api';

export const constants = {
  API_BASE_URL: process.env.REACT_APP_API_URL || 'http://localhost:3333',
  RATE_LIMIT: {
    WINDOW_MS: 60 * 60 * 1000, // 1 hour
    MAX_REQUESTS: 100,
  },
  REDIRECT_LIMITS: {
    MAX_HOPS: 20,
    TIMEOUT_MS: 15000,
    RESPONSE_BODY_LIMIT: 5000,
  },
} as const;
