export declare const CRASH_LOOP_RESTARTS = 3; export declare const UPDATE_PROBATION: { readonly watchMs: number; readonly graceMs: number; readonly journalMs: number; readonly strikes: 3; readonly keptBuilds: 2; readonly crashLoopRestarts: 3; }; export interface ProbationLook { readonly running: boolean; readonly restarting: boolean; readonly restarts: number; readonly answered: boolean; readonly ready: boolean | null; readonly journal: string | null; readonly reach: string | null; readonly bootFailure: string | null; readonly daemonRestarts: number; readonly crashLoop: string | null; readonly held: boolean; } export interface ProbationSwap { readonly at: number; readonly reach: string | null; } export type ProbationVerdict = { readonly kind: "healthy"; } | { readonly kind: "pending"; } | { readonly kind: "strike"; readonly reason: string; } | { readonly kind: "fail"; readonly reason: string; }; export declare const judgeProbation: (look: ProbationLook, swap: ProbationSwap, now: number, graceMs?: number) => ProbationVerdict; export type ProbationStep = { readonly action: "roll-back"; readonly reason: string; } | { readonly action: "watch"; readonly strikes: number; readonly reason?: string; } | { readonly action: "keep"; }; export declare const probationStep: (verdict: ProbationVerdict, strikes: number, over: boolean) => ProbationStep; //# sourceMappingURL=update-probation.d.ts.map