import { type HealthIndicatorResult } from './health-indicator-result.interface';
/**
 * ONLY USED INTERNALLY
 * The goal is to make this service public in the future
 * This is a helper service which can be used to create health indicator results
 * @internal
 */
export declare class HealthIndicatorService {
    check<Key extends string>(key: Key): HealthIndicatorSession<Key>;
}
type AdditionalData = Record<string, any>;
declare class HealthIndicatorSession<Key extends Readonly<string>> {
    private readonly key;
    constructor(key: Key);
    /**
     * Mark the health indicator as down
     * @param data additional data which will get appended to the result object
     */
    down<T extends AdditionalData>(data?: T): HealthIndicatorResult<typeof this.key, 'down', T>;
    down<T extends string>(data?: T): HealthIndicatorResult<typeof this.key, 'down', {
        message: T;
    }>;
    up<T extends AdditionalData>(data?: T): HealthIndicatorResult<Key, 'up', T>;
    up<T extends string>(data?: T): HealthIndicatorResult<Key, 'up', {
        message: T;
    }>;
}
export {};
