export interface LockInfo { holder: string; acquiredAt: string; task?: string; iteration?: string; pid: number; } export interface LockResult { success: boolean; existing?: LockInfo; message: string; } /** * 尝试获取锁 */ export declare function acquireLock(cwd: string, lockName: string, options?: { task?: string; iteration?: string; force?: boolean; }): Promise; /** * 释放锁 */ export declare function releaseLock(cwd: string, lockName: string): Promise; /** * 检查锁状态 */ export declare function checkLock(cwd: string, lockName: string): Promise; /** * 清理所有锁(管理员用) */ export declare function clearAllLocks(cwd: string): Promise; //# sourceMappingURL=lock-manager.d.ts.map