import { MidgardCache } from './midgard-cache'; import { ActionHistory, CompatibleAsset, GetActionsParams, SaversPosition, getSaver } from './types'; export declare class MidgardQuery { readonly midgardCache: MidgardCache; readonly overrideDecimals: Record; constructor(midgardCache?: MidgardCache, overrideDecimals?: Record); private getPool; private getFallbackDecimals; getSaverPositions(params: getSaver[]): Promise; getDecimalForAsset(asset: CompatibleAsset): Promise; /** * Paginated by 50. address, asset, type, txType, 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; }