import { BaseEndpoint } from '../base';
import { HealthResponse } from './types';

export class HealthEndpoint extends BaseEndpoint {
  constructor(client: any) {
    super(client, '/health');
  }

  /**
   * Check the health status of the API
   * @returns Promise with the health status response
   */
  async check(): Promise<HealthResponse> {
    return this.get<HealthResponse>('');
  }
} 