import { BaseApi } from "../base-api"; import type { PingStatus } from "./types"; /** * A class for accessing the Ping API. * @extends BaseApi */ export declare class PingApi extends BaseApi { /** * Gets the result of a ping from the API. * * Note: the backend's `/ping` route (`PingRoute` in `HealthCheckRoutes.scala`) responds with the * literal plain-text body `"pong"`, not JSON. Parsing behavior therefore depends on how the * underlying HTTP client handles non-JSON responses; the `PingStatus` type here is a placeholder. * * @returns {Promise} A promise that resolves with the result of the ping. */ ping(): Promise; }