import { AddressSystemType, FetcherResult, FetchersResult, NetworkIdType, PortfolioElement } from '@sonarwatch/portfolio-core'; import { Cache } from './Cache'; export type FetcherExecutor = (owner: string, cache: Cache) => Promise; export type Fetcher = { id: string; networkId: NetworkIdType; executor: FetcherExecutor; }; export declare function getFetchersResult(owner: string, addressSystem: AddressSystemType, results: FetcherResult[]): FetchersResult; export declare function runFetchers(owner: string, addressSystem: AddressSystemType, fetchers: Fetcher[], cache: Cache): Promise; export declare function runFetchersByNetworkId(owner: string, networkId: NetworkIdType, fetchers: Fetcher[], cache: Cache): Promise; export declare function runFetcher(owner: string, fetcher: Fetcher, cache: Cache): Promise; export declare function runFetcherSafe(owner: string, fetcher: Fetcher, cache: Cache): Promise;