import { TReentrantLock } from "@effect/core/stm/TReentrantLock/definition"; import { FiberId } from "@effect/core/io/FiberId/definition"; import { WriteLockSym } from "@effect/core/stm/TReentrantLock/definition/WriteLock"; export declare class InternalWriteLock implements TReentrantLock.WriteLock { readonly writeLocks: number; readonly readLocks: number; readonly fiberId: FiberId; readonly [WriteLockSym]: WriteLockSym; constructor(writeLocks: number, readLocks: number, fiberId: FiberId); writeLocksHeld(fiberId: FiberId): number; readLocksHeld(fiberId: FiberId): number; } /** * @tsplus macro remove */ export declare function concreteWriteLock(_: TReentrantLock.WriteLock): asserts _ is InternalWriteLock; //# sourceMappingURL=InternalWriteLock.d.ts.map