/** * @module Cache */ import { type ICacheAdapter } from "../../../../cache/contracts/_module.js"; import { type IReadableContext } from "../../../../execution-context/contracts/_module.js"; import { type TimeSpan } from "../../../../time-span/implementations/_module.js"; /** * The `NoOpCacheAdapter` will do nothing and is used for easily mocking {@link ICache | `ICache`} for testing. * * * IMPORT_PATH: `"@daiso-tech/core/cache/no-op-cache-adapter"` * @group Adapters */ export declare class NoOpCacheAdapter implements ICacheAdapter { getOrAdd(_key: string, valueToAdd: TType, _ttl: TimeSpan | null, _context: IReadableContext): Promise; get(_key: string, _context: IReadableContext): Promise; getAndRemove(_key: string, _context: IReadableContext): Promise; add(_key: string, _value: TType, _ttl: TimeSpan | null, _context: IReadableContext): Promise; put(_key: string, _value: TType, _ttl: TimeSpan | null, _context: IReadableContext): Promise; update(_key: string, _value: TType, _context: IReadableContext): Promise; increment(_key: string, _value: number, _context: IReadableContext): Promise; removeMany(_keys: Array, _context: IReadableContext): Promise; removeAll(_context: IReadableContext): Promise; removeByKeyPrefix(_prefix: string, _context: IReadableContext): Promise; }