export declare function validateWorktreeId(value: string, label?: string): string;
export declare function getWorktreesRoot(): string;
export declare function resolveSafeWorktreePath(candidatePath: string): Promise<string>;
export declare function createWorktree(runId: string, nodeId: string): Promise<string>;
export declare function removeWorktreeDirectory(path: string): Promise<void>;
export declare function removeWorktree(path: string): Promise<void>;
export declare function listWorktrees(runId: string): Promise<string[]>;
export declare function createAttemptWorktree(runId: string, nodeId: string, attempt: number): Promise<string>;
export declare function removeAttemptWorktree(runId: string, nodeId: string, attempt: number): Promise<void>;
export declare function listAttemptWorktrees(runId: string, nodeId: string): Promise<string[]>;
