import type { Either } from '@lokalise/node-core';
import type { AnyFastifyInstance } from '../pluginsCommon.js';
export type HealthChecker = (app: AnyFastifyInstance) => Promise<Either<Error, true>>;
/**
 * Return a function which executes healthcheck and throws an error if it fails
 */
export declare const wrapHealthCheck: (app: AnyFastifyInstance, healthCheck: HealthChecker) => () => Promise<void>;
