export interface AgentResourceConfig { buildJobs?: string; cargoTargetRoot?: string; sessionTmpRoot?: string; testWorkers?: string; typecheckConcurrency?: string; } /** Validate provider-wide controls before a launch window is acquired. */ export declare function resolveAgentResourceConfig(source?: NodeJS.ProcessEnv): AgentResourceConfig; /** * Build non-secret resource controls for one launched agent. All controls are * opt-in so an unconfigured provider preserves today's behavior. Workspace * hashing prevents separate worktrees from sharing final Cargo artifacts, * while still letting repeated sessions in one worktree reuse dependencies. */ export declare function agentResourceEnv(options: { cwd: string; terminalId: string; }, config?: AgentResourceConfig): Record; export declare function resolveMaxActiveAgents(source?: NodeJS.ProcessEnv): number | undefined;