import { TReentrantLock } from "@effect/core/stm/TReentrantLock/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * Just a convenience method for applications that only need reentrant locks,
 * without needing a distinction between readers / writers.
 *
 * See [[ets/TReentrantLock writeLock]].
 * @tsplus fluent ets/TReentrantLock lock
 * @tsplus location "@effect/core/stm/TReentrantLock/operations/TReentrantLock/lock"
 */
export declare function lock(self: TReentrantLock, __tsplusTrace?: string): Effect<Scope, never, number>;
//# sourceMappingURL=lock.d.ts.map