import { TReentrantLock } from "@effect/core/stm/TReentrantLock/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * Obtains a write lock in a scoped context.
 * @tsplus fluent ets/TReentrantLock writeLock
 * @tsplus location "@effect/core/stm/TReentrantLock/operations/TReentrantLock/writeLock"
 */
export declare function writeLock(self: TReentrantLock, __tsplusTrace?: string): Effect<Scope, never, number>;
//# sourceMappingURL=writeLock.d.ts.map