import { Config, KeyStore, Msg, PublicKey } from "keystore-idb/lib/types.js"; export declare class InMemoryRSAKeyStore implements KeyStore { cfg: Config; exchangeKeyPair: CryptoKeyPair; writeKeyPair: CryptoKeyPair; inMemoryStore: Record; constructor(cfg: Config, exchangeKeyPair: CryptoKeyPair, writeKeyPair: CryptoKeyPair); static init(maybeCfg?: Partial): Promise; exchangeKey(): Promise; writeKey(): Promise; getSymmKey(keyName: string, cfg?: Partial): Promise; keyExists(keyName: string): Promise; deleteKey(keyName: string): Promise; destroy(): Promise; importSymmKey(keyStr: string, keyName: string, cfg?: Partial): Promise; exportSymmKey(keyName: string, cfg?: Partial): Promise; encryptWithSymmKey(msg: string, keyName: string, cfg?: Partial): Promise; decryptWithSymmKey(cipherText: string, keyName: string, cfg?: Partial): Promise; sign(msg: Msg, cfg?: Partial): Promise; verify(msg: string, sig: string, publicKey: string | PublicKey, cfg?: Partial): Promise; encrypt(msg: Msg, publicKey: string | PublicKey, cfg?: Partial): Promise; decrypt(cipherText: Msg, publicKey?: string | PublicKey, // unused param so that keystore interfaces match cfg?: Partial): Promise; publicExchangeKey(): Promise; publicWriteKey(): Promise; }