import { Network } from '@xchainjs/xchain-client'; import { GetActions200Response as ActionHistory, PoolDetail, ReverseTHORNames, SaverDetails, THORNameDetails } from '@xchainjs/xchain-midgard'; import { GetActionsParams, MidgardConfig } from '../types'; export declare class Midgard { private config; readonly network: Network; private midgardApis; constructor(network?: Network, config?: MidgardConfig); getSavers(address: string): Promise; getPools(): Promise; getTHORNameDetails(name: string): Promise; getTHORNameReverseLookup(address: string): Promise; /** * Paginated by 50. address, asset, type, and affiliate are comma-separated; asset also accepts synth, nosynth, norune. * timestamp/height are older-than; fromTimestamp/fromHeight are newer-than. limit defaults to 50, offset to 0. */ getActions({ address, txid, asset, type, txType, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight, }: GetActionsParams): Promise; }