/** * @module Lock */ import { type IReadableContext } from "../../../../execution-context/contracts/_module.js"; import { type ILockAdapter, type ILockAdapterState } from "../../../../lock/contracts/_module.js"; import { type TimeSpan } from "../../../../time-span/implementations/_module.js"; /** * The `NoOpLockAdapter` will do nothing and is used for easily mocking {@link ILockFactory | `ILockFactory`} for testing. * * IMPORT_PATH: `"@daiso-tech/core/lock/no-op-lock-adapter"` * @group Adapters */ export declare class NoOpLockAdapter implements ILockAdapter { acquire(_key: string, _lockId: string, _ttl: TimeSpan | null, _context: IReadableContext): Promise; release(_key: string, _lockId: string, _context: IReadableContext): Promise; forceRelease(_key: string, _context: IReadableContext): Promise; refresh(_key: string, _lockId: string, _ttl: TimeSpan, _context: IReadableContext): Promise; getState(_key: string, _context: IReadableContext): Promise; }