export interface ExclusiveFileLockOptions { busyMessage: string; invalidMessage: string; unavailableMessage: string; /** 仅兼容已有工作区锁权限;新服务状态锁应拒绝不安全权限。 */ repairPermissions?: boolean; /** Windows 由原生 ACL 证明替代无意义的 POSIX mode 位;既有文件只允许只读核验。 */ prepareSecurity?: (filename: string, created: boolean) => void; } /** 单一SQLite写事务持锁;仅用于可靠本地卷。不得删除/替换锁文件解除占用。 */ export declare function acquireExclusiveFileLock(filename: string, options: ExclusiveFileLockOptions): () => void; //# sourceMappingURL=exclusive-file-lock.d.ts.map