import apiClient from './client';
import type { BacktestReport, MarketRegime } from '../lib/types';

export function getMarketRegime() {
  return apiClient.get<MarketRegime>('market/regime').then((r) => r.data);
}

export function getBacktestReport() {
  return apiClient.get<BacktestReport | null>('backtest/report').then((r) => r.data);
}
