import BaseStoreWithAddressAndChain from '@soul-wallet/extension-base/services/storage-service/db-stores/BaseStoreWithAddressAndChain'; import { ITransactionHistoryItem } from '../databases'; export interface HistoryQuery { chain?: string; address?: string; extrinsicHash?: string; transactionId?: string; } export default class TransactionStore extends BaseStoreWithAddressAndChain { getHistoryByAddressAsObject(address: string): Promise; queryHistory(query?: HistoryQuery): Promise; bulkUpsert(records: ITransactionHistoryItem[]): Promise; updateWithQuery(query: HistoryQuery, update: Partial): Promise; }