import { type ServiceDefinition } from "../profiles/types.js"; export interface ProbeResult { reachable: boolean; /** حمولة الخدمة إن ردّت. يُستعمل في ‎status‎ و‎health‎ لعرض النسخة ومدة التشغيل. */ payload?: unknown; /** سبب الفشل بالعربية، للعرض لا للتحليل. */ reason?: string; /** رمز HTTP حين ردّت الخدمة بغير نجاح — للتحليل حيث لا يصلح النصّ (2026-10-12، ‎supervisor/handoff.ts‎). */ status?: number; } /** يسبر خدمة واحدة بالطريقة التي يقرّرها تعريفها. */ export declare function probeService(service: ServiceDefinition, timeoutMs?: number): Promise; /** لقطة صحة النواة كما تعيدها اليوم. الحقول اختيارية لأن العقد سيتوسّع في C3. */ export interface CoreHealthPayload { status?: string; version?: string; environment?: string; uptimeSeconds?: number; checks?: { name: string; status: string; }[]; } export declare function asCoreHealth(payload: unknown): CoreHealthPayload | undefined; /** لقطة خدمة البث: ‎{ status, channels }‎ من ‎/internal/health‎. */ export interface LiveHealthPayload { status?: string; channels?: number; } export declare function asLiveHealth(payload: unknown): LiveHealthPayload | undefined; //# sourceMappingURL=service.probe.d.ts.map