import { HealthIndicatorFunction } from '../health-indicator';
import { HealthCheckExecutor } from './health-check-executor.service';
import { HealthCheckResult } from './health-check-result.interface';
/**
 * Handles Health Checks which can be used in
 * Controllers.
 */
export declare class HealthCheckService {
    private healthCheckExecutor;
    constructor(healthCheckExecutor: HealthCheckExecutor);
    private readonly logger;
    /**
     * Logs an error message of terminus
     * @param message The log message
     * @param error The error which was thrown
     */
    private logError;
    /**
     * Checks the given health indicators
     *
     * ```typescript
     *
     * healthCheckService.check([
     *   () => this.http.pingCheck('google', 'https://google.com'),
     * ]);
     *
     *
     * ```
     * @param healthIndicators The health indicators which should be checked
     */
    check(healthIndicators: HealthIndicatorFunction[]): Promise<HealthCheckResult>;
}
