import type { PostgreSQL } from "@cocalc/database/postgres/types"; import express from "express"; interface HealthcheckData { code: 200 | 404; txt: string; } export declare function set_agent_endpoint(port: number, host: string): void; export interface Check { status: string; abort?: boolean; } interface Opts { db: PostgreSQL; router: express.Router; extra?: (() => Promise)[]; } export declare function process_alive(): HealthcheckData; export declare function setup_health_checks(opts: Opts): Promise; export {};