import { BaseApi } from "../base-api"; import type { HealthCheckResult } from "./types"; /** * A class for accessing the Health Check API. * @extends BaseApi */ export declare class HealthCheckApi extends BaseApi { /** * Gets the result of a health check from the API. * * The backend reports success/failure via the HTTP status code (200 healthy, 500 unhealthy) as * well as the body's `success` field, so an unhealthy response may surface as a rejected promise * rather than a resolved one with `success: false`, depending on how the underlying HTTP client * handles non-2xx responses. * * @returns {Promise} A promise that resolves with the result of the health check. */ getHealthCheck(): Promise; }