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<RawKeyRegister>);
    has(id: number): Promise<boolean>;
    get(id: number): Promise<KeyObject>;
    save(key: RawKeyRegister): Promise<void>;
}
