import { KVStore } from "@keplr-wallet/common"; import { ChainGetter, HasMapStore } from "@keplr-wallet/stores"; import { CoinPretty, PricePretty, RatePretty } from "@keplr-wallet/unit"; import { IPriceStore } from "../../price"; import { ObservableQueryExternalBase } from "../base"; import { PositionPerformance } from "./types"; /** Queries performance metrics for a given position. */ export declare class ObservableQueryPositionPerformanceMetrics extends ObservableQueryExternalBase { protected readonly chainGetter: ChainGetter; protected readonly chainId: string; protected readonly priceStore: IPriceStore; protected readonly positionId: string; /** API returns hardcoded USD values. */ readonly fiatCurrency: { currency: string; symbol: string; maxDecimals: number; locale: string; }; constructor(kvStore: KVStore, baseURL: string, chainGetter: ChainGetter, chainId: string, priceStore: IPriceStore, positionId: string); protected get chain(): import("@keplr-wallet/types").ChainInfo & { raw: import("@keplr-wallet/types").ChainInfo; addUnknownCurrencies(...coinMinimalDenoms: string[]): void; findCurrency(coinMinimalDenom: string): import("@keplr-wallet/types").AppCurrency | undefined; forceFindCurrency(coinMinimalDenom: string): import("@keplr-wallet/types").AppCurrency; }; get feesEarned(): CoinPretty[]; get incentivesEarned(): CoinPretty[]; get totalEarnedValue(): PricePretty; get totalEarned(): CoinPretty[]; get principal(): { coin: CoinPretty; value: PricePretty; }[]; get totalPrincipalValue(): PricePretty; readonly calculateReturnOnInvestment: (currentPositionCoins: CoinPretty[], unclaimedRewards: CoinPretty[]) => RatePretty; } /** Query position metrics by position identifier. */ export declare class ObservableQueryPositionsPerformanceMetrics extends HasMapStore { constructor(kvStore: KVStore, chainGetter: ChainGetter, chainId: string, priceStore: IPriceStore, indexerBaseUrl?: string); get(positionId: string): ObservableQueryPositionPerformanceMetrics; } export * from "./types";