export interface WorktreeAssignment { agentId: string; branch: string; path: string; readOnly: boolean; } export interface WorktreeRunRecord { version: 1; runId: string; repoRoot: string; createdAt: number; assignments: WorktreeAssignment[]; } export declare class CodexWorktreeCoordinator { readonly repoRoot: string; readonly registryDir: string; readonly worktreeBase: string; constructor(repoRoot: string); prepare(runId: string, agents: Array<{ id: string; readOnly?: boolean; }>, options?: { allowDirty?: boolean; baseRef?: string; }): WorktreeRunRecord; status(runId: string): WorktreeRunRecord; integrate(runId: string, agentIds?: string[]): { merged: string[]; }; cleanup(runId: string): { removed: string[]; retained: string[]; }; private registryPath; private writeRecord; } //# sourceMappingURL=coordinator.d.ts.map