export declare const AGENT_CLEANUP_STEP_TIMEOUT_MS = 10000; export declare const AGENT_CLEANUP_STEP_TIMEOUT_ENV = "KLAW_AGENT_CLEANUP_TIMEOUT_MS"; export declare const TRAJECTORY_FLUSH_TIMEOUT_ENV = "KLAW_TRAJECTORY_FLUSH_TIMEOUT_MS"; type AgentCleanupLogger = { warn: (message: string) => void; }; export declare function resolveAgentCleanupStepTimeoutMs(params: { step: string; timeoutMs?: number; env?: NodeJS.ProcessEnv; }): number; export declare function runAgentCleanupStep(params: { runId: string; sessionId: string; step: string; cleanup: () => Promise; getTimeoutDetails?: () => string | undefined; log: AgentCleanupLogger; env?: NodeJS.ProcessEnv; timeoutMs?: number; }): Promise; export {};