/**
 * Standardized Health Check Middleware
 * Provides consistent health monitoring across all applications
 */
import { Request, Response, Router } from "express";
export interface HealthCheckOptions {
    includeDetails?: boolean;
    checkComponents?: () => Promise<ComponentHealth>;
    version?: string;
    serviceName?: string;
}
export interface ComponentHealth {
    [key: string]: {
        status: "healthy" | "degraded" | "unhealthy";
        message?: string;
        latency?: number;
    };
}
export interface HealthResponse {
    status: "healthy" | "degraded" | "unhealthy";
    timestamp: string;
    version: string;
    uptime: number;
    service?: string;
    components?: ComponentHealth;
    resources?: {
        memory: {
            used: number;
            total: number;
            percentage: number;
        };
        cpu: {
            usage: number;
            cores: number;
        };
    };
}
/**
 * Create standardized health check endpoint
 * @param {HealthCheckOptions} options - Health check configuration
 * @returns {Router} Express router with health endpoint
 */
export declare function createHealthCheck(options?: HealthCheckOptions): Router;
/**
 * Simple health check middleware for basic use
 */
export declare function healthCheck(_req: Request, res: Response): void;
//# sourceMappingURL=health.d.ts.map