import { Router } from 'express';
import type { Logger } from 'pino';
import type { ElsClient } from '../../elsClient.js';
import type { RedisService } from '../../cache/redis.js';
/**
 * Health endpoints:
 *   - `GET /health`  — INSO Uptime-совместимый формат: `{status, uptime, version, hostname}`.
 *                     Используется LK Uptime Service (health-monitor) для мониторинга,
 *                     парсит поле `version` (BUILD_VERSION из CI).
 *   - `GET /healthz` — liveness (legacy alias). Всегда 200.
 *   - `GET /readyz`  — readiness. Проверяет upstream ELS И Redis.
 */
export interface CreateHealthOptions {
    elsClient?: ElsClient;
    redis?: RedisService;
    /** Дополнительные probe'ы (БД, etc.) — будут вызваны последовательно. */
    probes?: Array<{
        name: string;
        check: () => Promise<void>;
    }>;
    log?: Logger;
}
export declare function createHealthRouter(opts?: CreateHealthOptions): Router;
//# sourceMappingURL=health.d.ts.map