'use strict'; import { KeyPair } from '../utils/key_pair'; /** * Key store interface for `InMemorySigner`. */ export abstract class KeyStore { abstract async setKey(networkId: string, accountId: string, keyPair: KeyPair): Promise; abstract async getKey(networkId: string, accountId: string): Promise; abstract async removeKey(networkId: string, accountId: string): Promise; abstract async clear(): Promise; abstract async getNetworks(): Promise; abstract async getAccounts(networkId: string): Promise; }