import { type ProgramIO } from '../cli-helpers.js'; import type { DispatchOptions } from './sub-agent-shared.js'; export interface IsolationLeaseInput { projectRoot: string; sid: string; rid: string; role: string; batchId: string; asJson: boolean; } export interface IsolationLease { isolationMode: 'worktree' | 'container' | null; leaseId: string | null; worktreePath: string | null; worktreeBranch: string | null; } export declare function resolveIsolationLease(io: ProgramIO, options: DispatchOptions, input: IsolationLeaseInput): Promise;