import type { BackendStatus } from '../server/backend-status.js'; import type { MultiBrowserPool } from '../fetch/browser-pool.js'; export interface HealthProbeInput { backendStatus: BackendStatus | null; browserPool: MultiBrowserPool | null; startedAt: number; /** * Whether the search-engine sidecar is opted into (searxng/hybrid backend or * external URL). D1: when false, the default core backend is in use — the * sidecar is intentionally absent, so it reports `not_configured` and overall * health derives from the browser pool + cache, not from the sidecar. */ searxngConfigured: boolean; } export interface HealthReport { status: 'healthy' | 'degraded' | 'down'; searxng: 'active' | 'unavailable' | 'not_initialized' | 'not_configured'; browsers: 'ready' | 'not_initialized'; cache: 'active' | 'not_initialized'; uptime_seconds: number; } export declare function probeHealth(input: HealthProbeInput): HealthReport; //# sourceMappingURL=health-check.d.ts.map