import { ActionContext } from '../..'; import { Asset, Network, WalletId } from '../../types'; declare type HistoryUpdateFunction = () => Promise | undefined>; export declare function withLock({ dispatch }: ActionContext, { item, network, walletId, asset }: { item: T; network: Network; walletId: WalletId; asset: Asset; }, func: () => Promise>): Promise>; export declare function withInterval(func: HistoryUpdateFunction): Promise>; export {};