export declare const DEFAULT_IDLE_SUSPEND_MINUTES = 120; export declare const DEFAULT_CLIENT_POLL_SECONDS = 60; export interface SupervisorSessionConfig { /** Minutes of host silence before the child is suspended. 0 disables it. */ idleSuspendMinutes: number; /** How often to check the MCP client is still alive. */ clientPollSeconds: number; } /** * How often to test for idleness, given the threshold. * * A quarter of the threshold, so a suspend lands within ~25% of it, but never * more often than every 5 minutes - at the 2h default that is 5 minutes, and * the timer is otherwise doing nothing all day. The 1s floor only matters for * the sub-minute thresholds used by the stress harness. * * Pure and exported so the production timings are actually tested, rather than * only reasoned about: the default threshold is too long to wait out in a test. */ export declare function idleCheckIntervalMs(idleThresholdMs: number): number; export interface ReadSessionConfigDeps { /** Path to config.json, as resolved by getConfigPath(). */ configPath: string; /** Path to ~/.cdp-tools/config.json, followed when the local file defers to it. */ globalConfigPath?: string; env?: NodeJS.ProcessEnv; readFile?: (path: string) => string; } export declare function readSupervisorSessionConfig(deps: ReadSessionConfigDeps): SupervisorSessionConfig; //# sourceMappingURL=idle-config.d.ts.map