import "../../_dnt.polyfills.js"; import * as $ from "../../deps/scale.js"; import { AsyncMemo } from "../memo.js"; import { TimedMemo, WeakMemo } from "../mod.js"; export declare abstract class CacheBase { readonly signal: AbortSignal; constructor(signal: AbortSignal); abstract _getRaw(key: string, init: () => Promise): Promise; abstract _has(key: string): Promise; hasMemo: AsyncMemo; has(key: string): Promise; rawMemo: WeakMemo; getRaw(key: string, init: () => Promise): Promise; decodedMemo: Map<$.AnyCodec, WeakMemo>; get(key: string, $value: $.Codec, init: () => Promise): Promise; stringMemo: TimedMemo; getString(key: string, ttl: number, init: () => Promise): Promise; }