import { HasMapStore, IQueriesStore } from "@keplr-wallet/stores"; import { FiatCurrency } from "@keplr-wallet/types"; import { CoinPretty, PricePretty, RatePretty } from "@keplr-wallet/unit"; import { Duration } from "dayjs/plugin/duration"; import { AccountStore } from "../../account"; import { IPriceStore } from "../../price"; import { OsmosisQueries } from "../../queries/store"; import { ObservableQueryActiveGauges, ObservableQueryPoolFeesMetrics } from "../../queries-external"; import { ExternalSharesGauge } from "./types"; /** Convenience store for getting common details of a share pool (balancer or stable) via many other lower-level query stores. */ export declare class ObservableSharePoolDetail { readonly poolId: string; protected readonly osmosisChainId: string; protected readonly queriesStore: IQueriesStore; protected readonly externalQueries: { queryPoolFeeMetrics: ObservableQueryPoolFeesMetrics; queryActiveGauges: ObservableQueryActiveGauges; }; protected readonly accountStore: AccountStore; protected readonly priceStore: IPriceStore; protected readonly _fiatCurrency: FiatCurrency; constructor(poolId: string, osmosisChainId: string, queriesStore: IQueriesStore, externalQueries: { queryPoolFeeMetrics: ObservableQueryPoolFeesMetrics; queryActiveGauges: ObservableQueryActiveGauges; }, accountStore: AccountStore, priceStore: IPriceStore); get querySharePool(): import("../..").ObservableQueryPool | undefined; protected get bech32Address(): string; protected get osmosisQueries(): import("../../queries/store").OsmosisQueriesImpl; get poolShareCurrency(): import("@keplr-wallet/types").Currency; get isIncentivized(): boolean; get totalValueLocked(): PricePretty; get lockableDurations(): Duration[]; get longestDuration(): Duration | undefined; get swapFeeApr(): RatePretty; get internalGauges(): { id: string; duration: Duration; apr: RatePretty; isLoading: boolean; }[]; get userShareValue(): PricePretty; get userBondedValue(): PricePretty; get userBondedShares(): CoinPretty; get userAvailableValue(): PricePretty; get userAvailableShares(): CoinPretty; get userPoolAssets(): { ratio: RatePretty; asset: CoinPretty; }[]; get userLockedAssets(): { apr: RatePretty | undefined; duration: Duration; amount: CoinPretty; lockIds: string[]; }[]; get userUnlockingAssets(): { duration: Duration; amount: CoinPretty; lockIds: string[]; endTime: Date; }[]; get userCanDepool(): boolean; get allExternalGauges(): ExternalSharesGauge[]; get userStats(): { totalShares: CoinPretty; totalShareValue: PricePretty; bondedValue: PricePretty; unbondedValue: PricePretty; } | undefined; } /** Stores a map of additional details for each share pool (balancer or stable) ID. */ export declare class ObservableSharePoolDetails extends HasMapStore { protected readonly osmosisChainId: string; protected readonly queriesStore: IQueriesStore; protected readonly externalQueries: { queryPoolFeeMetrics: ObservableQueryPoolFeesMetrics; queryActiveGauges: ObservableQueryActiveGauges; }; protected readonly accountStore: AccountStore; protected readonly priceStore: IPriceStore; constructor(osmosisChainId: string, queriesStore: IQueriesStore, externalQueries: { queryPoolFeeMetrics: ObservableQueryPoolFeesMetrics; queryActiveGauges: ObservableQueryActiveGauges; }, accountStore: AccountStore, priceStore: IPriceStore); get(poolId: string): ObservableSharePoolDetail; }