export interface HealthCheckResult { success: boolean; /** * Per-dependency check detail. The backend only includes this for callers that present a valid * `X-Narrative-Health-Check-Secret` header (an internal, stage-specific secret) — this SDK does * not send that header, so in normal use the response is summary-only (`checks` absent) and only * `success` is populated. */ checks?: CheckResult[]; } export interface CheckResult { name: string; type: HealthCheckResultType; success: boolean; error_message?: string | null; } export type HealthCheckResultType = "postgresql" | "s3" | "stytch-api" | "product-skus";