import { TReentrantLock } from "@effect/core/stm/TReentrantLock/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
/**
 * Acquires a write lock. The transaction will suspend until no other fibers
 * are holding read or write locks. Succeeds with the number of write locks
 * held by this fiber.
 * @tsplus getter ets/TReentrantLock acquireWrite
 * @tsplus location "@effect/core/stm/TReentrantLock/operations/TReentrantLock/acquireWrite"
 */
export declare function acquireWrite(self: TReentrantLock): USTM<number>;
//# sourceMappingURL=acquireWrite.d.ts.map