export interface HealthStatus {
    status: 'healthy' | 'degraded' | 'unhealthy';
    timestamp: string;
    version: string;
    checks: HealthCheck[];
}
export interface HealthCheck {
    name: string;
    status: 'pass' | 'fail' | 'warn';
    message?: string;
    duration?: number;
}
/** Run all health checks and return the aggregated status. */
export declare function checkHealth(version: string, checks: Array<{
    name: string;
    check: () => Promise<void>;
}>): Promise<HealthStatus>;
/** Create a standard database health check. */
export declare function databaseHealthCheck(db: {
    query: (sql: string) => Promise<unknown>;
}): () => Promise<void>;
/** Handle a health check HTTP request. */
export declare function handleHealthRequest(version: string, checks: Array<{
    name: string;
    check: () => Promise<void>;
}>): Promise<Response>;
//# sourceMappingURL=index.d.ts.map