/** 非阻塞获取:空闲 → 持有并返回 true;占用 → false(不等待)。 */ export declare function tryAcquireImportLock(key: string): boolean; /** 排队获取:空闲 → 立即持有;占用 → 挂起,release 时按 FIFO 移交。 */ export declare function acquireImportLock(key: string): Promise; /** 释放:唤醒队首(锁移交,map 保留);无等待者 → 清锁。未持有 → no-op。 */ export declare function releaseImportLock(key: string): void; /** 查询:key 锁是否被持有(含等待者未清空时的移交中间态恒为持有)。 */ export declare function isImportLocked(key: string): boolean; /** 清空全部锁状态——测试隔离专用(对齐 import-check.ts resetImportCache 先例)。 */ export declare function resetImportLocks(): void;