import KeyStoreBase from "../keystore/base.js"; import { KeyStore, Config, Msg, PublicKey } from "../types.js"; export declare class RSAKeyStore extends KeyStoreBase implements KeyStore { static init(maybeCfg?: Partial, store?: LocalForage): Promise; createIfDoesNotExist(writeKeyName: string, exchangeKeyName: string): Promise; createOverwriteIfAlreadyExists(writeKeyName: string, exchangeKeyName: string): Promise; sign(msg: Msg, writeKeyName: string, cfg?: Partial): Promise; verify(msg: string, sig: string, publicKey: string | PublicKey, cfg?: Partial): Promise; encrypt(msg: Msg, publicKey: string | PublicKey, _exchangeKeyName?: string, // unused param so that keystore interfaces match cfg?: Partial): Promise; decrypt(cipherText: Msg, exchangeKeyName: string, publicKey?: string | PublicKey, // unused param so that keystore interfaces match cfg?: Partial): Promise; publicExchangeKey(exchangeKeyName: string): Promise; publicWriteKey(writeKeyName: string): Promise; } export default RSAKeyStore;