import type { AppConfig } from "./schema.js"; export declare const BACKGROUND_AUTOMATION_SOFT_TIMEOUT_HEADROOM_MS = 20000; export declare const BACKGROUND_FUNCTION_WALL_MS: number; export declare const BACKGROUND_FUNCTION_WALL_HEADROOM_MS: number; export declare const BACKGROUND_SOFT_TIMEOUT_CEILING_MS: number; export declare const RUN_NO_PROGRESS_HARD_TIMEOUT_MS = 150000; export declare const MAX_CONSECUTIVE_NO_PROGRESS_CONTINUATIONS = 2; export declare const MAX_TURN_WALL_CLOCK_MS: number; export declare const MAX_RUN_LOOP_CONTINUATIONS = 6; export declare const MAX_BACKGROUND_RUN_LOOP_CONTINUATIONS = 20; export declare const TURN_RUN_LEDGER_SLACK = 5; export declare const MAX_BACKGROUND_RUN_CONTINUATIONS = 20; export declare const MAX_FOLLOWED_BACKGROUND_RUNS = 30; export declare const MAX_BACKGROUND_FOLLOW_WALL_TIME_MS: number; interface Invariant { name: string; smaller: { key: string; value: number; }; larger: { key: string; value: number; }; relation: "<" | "<="; why: string; } export declare class RunLifecycleInvariantError extends Error { constructor(violations: readonly Invariant[]); } export declare function assertRunLifecycleInvariants(agent: AppConfig["agent"]): void; export {};