// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson } from '@polkadot/ui-keyring/types'; export interface AccountStoreApi { all: () => Promise<{ key: string, value: KeyringJson }[]> get: (key: string) => Promise remove: (key: string) => Promise set: (key: string, value: KeyringJson) => Promise }