import { type ConversationStatePurgePlan } from "./conversation-state-roots.js"; export declare const PROCESS_JOBS_DEFAULTS: Readonly<{ enabled: false; unsafeAllowUnprotectedState: false; stateDir: ".mono-agent/process-jobs"; maxConcurrent: 4; maxActivePerConversation: 2; maxQueued: 8; maxRuntimeMs: number; maxQueueAgeMs: number; maxOutputBytes: number; previewChars: 2000; maxChainDepth: 4; retention: Readonly<{ maxRecords: 1000; maxAgeMs: number; artifactMaxBytes: number; }>; }>; export declare const PROCESS_JOBS_CAPS: Readonly<{ maxConcurrent: 32; maxActivePerConversation: 8; maxQueued: 64; maxRuntimeMs: number; maxQueueAgeMs: number; maxOutputBytes: number; previewChars: 8000; maxChainDepth: 8; retention: Readonly<{ maxRecords: 10000; maxAgeMs: number; artifactMaxBytes: number; }>; }>; export interface ProcessJobsSettings { readonly configured: boolean; readonly enabled: boolean; readonly unsafeAllowUnprotectedState: boolean; readonly stateDir: string; readonly maxConcurrent: number; readonly maxActivePerConversation: number; readonly maxQueued: number; readonly maxRuntimeMs: number; readonly maxQueueAgeMs: number; readonly maxOutputBytes: number; readonly previewChars: number; readonly maxChainDepth: number; readonly retention: { readonly maxRecords: number; readonly maxAgeMs: number; readonly artifactMaxBytes: number; }; } export interface LoadProcessJobsSettingsOptions { /** The exact destructive-root plan already attested by clear-sessions preflight. */ readonly purgePlan?: ConversationStatePurgePlan; /** Check an unconfigured default state root only when destructive reset is imminent. */ readonly validateDormantStateRoot?: boolean; /** One exact config/environment generation shared by destructive preflight. */ readonly snapshot?: ProcessJobsConfigSnapshot; } export interface ProcessJobsConfigSnapshot { readonly path: string; readonly json: Readonly>; readonly digest: string; readonly fingerprint: string; readonly missing: boolean; readonly env: Readonly>; } /** Resolve only the workspace needed by destructive registry validation. */ export declare function resolveProcessJobsRegistryWorkspace(snapshot: ProcessJobsConfigSnapshot, cwd: string): string; /** Read one strict, bounded, no-follow config generation for destructive preflight. */ export declare function readProcessJobsConfigSnapshot(input: { readonly configPath: string; readonly env?: Record; }): Promise; export declare function assertProcessJobsConfigSnapshotUnchanged(expected: ProcessJobsConfigSnapshot): Promise; /** Load the host-only process-job block and fail closed on every unknown key. */ export declare function loadProcessJobsSettings(input: { readonly cwd: string; readonly configPath: string; readonly env?: Record; }, options?: LoadProcessJobsSettingsOptions): Promise; //# sourceMappingURL=process-jobs-config.d.ts.map