/** Pure derivation over `inFlight[]`: warn at 15s, stalled at 30s since last tick. */
import type { InFlightOp } from './core-types.js';
export type StuckRunStatus = 'ok' | 'warn' | 'stalled';
export declare function deriveStuckRunStatus(inFlight: readonly InFlightOp[], now: number, options?: {
    warnAfterMs?: number;
    stalledAfterMs?: number;
}): StuckRunStatus;
/** Latest in-flight op by startedAt; UI's foreground spinner. */
export declare function pickLatestInFlightOp(inFlight: readonly InFlightOp[]): InFlightOp | undefined;
//# sourceMappingURL=stuck-run-watchdog.d.ts.map