export type HealthcheckFn = () => Promise<void> | void;
export interface HealthcheckResult {
    name: string;
    status: 'ok' | 'error';
    error?: string;
}
export declare class HealthcheckService {
    private readonly checks;
    private readonly readinessChecks;
    private readonly livenessChecks;
    register(name: string, fn: HealthcheckFn): void;
    registerReadyCheck(name: string, fn: HealthcheckFn): void;
    registerLivenessCheck(name: string, fn: HealthcheckFn): void;
    check(): Promise<void>;
    checkReady(): Promise<void>;
    checkLiveness(): Promise<void>;
    checkIndividual(): Promise<HealthcheckResult[]>;
}
//# sourceMappingURL=healthcheck.service.d.ts.map