import { z } from 'zod';
import type { WorktreeEntry } from '../../../../modules/worktree-management/entities/worktree/worktree.schema.js';
export declare const degradedReasonSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    kind: z.ZodLiteral<"stale">;
    ageMs: z.ZodNumber;
    thresholdMs: z.ZodNumber;
}, z.core.$strip>, z.ZodObject<{
    kind: z.ZodLiteral<"orphan-git-lock">;
    lockPath: z.ZodString;
    lockAgeMs: z.ZodNumber;
}, z.core.$strip>, z.ZodObject<{
    kind: z.ZodLiteral<"unresolved-conflict">;
}, z.core.$strip>], "kind">;
export type DegradedReason = z.infer<typeof degradedReasonSchema>;
export type DegradedReasonKind = DegradedReason['kind'];
export declare const worktreeHealthSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    status: z.ZodLiteral<"healthy">;
}, z.core.$strip>, z.ZodObject<{
    status: z.ZodLiteral<"degraded">;
    reason: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"stale">;
        ageMs: z.ZodNumber;
        thresholdMs: z.ZodNumber;
    }, z.core.$strip>, z.ZodObject<{
        kind: z.ZodLiteral<"orphan-git-lock">;
        lockPath: z.ZodString;
        lockAgeMs: z.ZodNumber;
    }, z.core.$strip>, z.ZodObject<{
        kind: z.ZodLiteral<"unresolved-conflict">;
    }, z.core.$strip>], "kind">;
    detectedAt: z.ZodDate;
}, z.core.$strip>], "status">;
export type WorktreeHealth = z.infer<typeof worktreeHealthSchema>;
export interface WorktreeHealthReport {
    entry: WorktreeEntry;
    health: WorktreeHealth;
}
//# sourceMappingURL=worktreeHealth.schema.d.ts.map