import { Service } from '../service'; import { Client } from '../client'; import type { Models } from '../models'; export declare class Health extends Service { constructor(client: Client); /** * Get HTTP * * Check the Appwrite HTTP server is up and responsive. * * @throws {AppwriteException} * @returns {Promise} */ get(): Promise; /** * Get Antivirus * * Check the Appwrite Antivirus server is up and connection is successful. * * @throws {AppwriteException} * @returns {Promise} */ getAntivirus(): Promise; /** * Get Cache * * Check the Appwrite in-memory cache server is up and connection is * successful. * * @throws {AppwriteException} * @returns {Promise} */ getCache(): Promise; /** * Get DB * * Check the Appwrite database server is up and connection is successful. * * @throws {AppwriteException} * @returns {Promise} */ getDB(): Promise; /** * Get Certificates Queue * * Get the number of certificates that are waiting to be issued against * [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue * server. * * @throws {AppwriteException} * @returns {Promise} */ getQueueCertificates(): Promise; /** * Get Functions Queue * * * @throws {AppwriteException} * @returns {Promise} */ getQueueFunctions(): Promise; /** * Get Logs Queue * * Get the number of logs that are waiting to be processed in the Appwrite * internal queue server. * * @throws {AppwriteException} * @returns {Promise} */ getQueueLogs(): Promise; /** * Get Webhooks Queue * * Get the number of webhooks that are waiting to be processed in the Appwrite * internal queue server. * * @throws {AppwriteException} * @returns {Promise} */ getQueueWebhooks(): Promise; /** * Get Local Storage * * Check the Appwrite local storage device is up and connection is successful. * * @throws {AppwriteException} * @returns {Promise} */ getStorageLocal(): Promise; /** * Get Time * * Check the Appwrite server time is synced with Google remote NTP server. We * use this technology to smoothly handle leap seconds with no disruptive * events. The [Network Time * Protocol](https://en.wikipedia.org/wiki/Network_Time_Protocol) (NTP) is * used by hundreds of millions of computers and devices to synchronize their * clocks over the Internet. If your computer sets its own clock, it likely * uses NTP. * * @throws {AppwriteException} * @returns {Promise} */ getTime(): Promise; }