import { type KeyObject } from 'node:crypto'; import type RawKeyRegister from '../rawkeys'; import type KeyDictCache from './cache'; export default class MemoryCache implements KeyDictCache { private keys; constructor(keys?: Array); has(id: number): Promise; get(id: number): Promise; save(key: RawKeyRegister): Promise; }