/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Acquire an exclusive lock on a directory using O_EXCL and a PID file for stale-lock detection.
 *
 * Returns a release function that removes the lock and PID files.
 */
export declare function acquireDirectoryLock(dirPath: string, dirName: string): Promise<() => Promise<void>>;
//# sourceMappingURL=lock-utils.d.ts.map