import { CosmosQueries, HasMapStore, IQueriesStore } from "@keplr-wallet/stores"; import { FiatCurrency } from "@keplr-wallet/types"; import { CoinPretty, RatePretty } from "@keplr-wallet/unit"; import { AccountStore } from "../../account"; import { IPriceStore } from "../../price"; import { OsmosisQueries } from "../../queries/store"; import { ObservableConcentratedPoolDetails } from "./concentrated"; import { ObservableSharePoolDetails } from "./share-pool-details"; export declare type SuperfluidValidatorInfo = { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; }; /** Convenience store getting common superfluid data for a pool via superfluid stores. */ export declare class ObservableSuperfluidPoolDetail { protected readonly poolId: string; protected readonly osmosisChainId: string; protected readonly queriesStore: IQueriesStore; protected readonly accountStore: AccountStore; protected readonly sharePoolDetails: ObservableSharePoolDetails; protected readonly concentratedPoolDetails: ObservableConcentratedPoolDetails; protected readonly priceStore: IPriceStore; protected readonly _fiatCurrency: FiatCurrency; constructor(poolId: string, osmosisChainId: string, queriesStore: IQueriesStore, accountStore: AccountStore, sharePoolDetails: ObservableSharePoolDetails, concentratedPoolDetails: ObservableConcentratedPoolDetails, priceStore: IPriceStore); protected get bech32Address(): string; protected get querySharePoolDetails(): import("./share-pool-details").ObservableSharePoolDetail; protected get queryConcentratedPoolDetails(): import("./concentrated").ObservableConcentratedPoolDetail; protected get cosmosQueries(): import("utility-types/dist/mapped-types")._DeepReadonlyObject<{ queryRPCStatus: import("@keplr-wallet/stores/build/query/cosmos/status").ObservableQueryRPCStatus; queryAccount: import("@keplr-wallet/stores").ObservableQueryAccount; querySpendableBalances: import("@keplr-wallet/stores").ObservableQuerySpendableBalances; queryMint: import("@keplr-wallet/stores").ObservableQueryMintingInfation; queryPool: import("@keplr-wallet/stores").ObservableQueryStakingPool; queryStakingParams: import("@keplr-wallet/stores").ObservableQueryStakingParams; querySupplyTotal: import("@keplr-wallet/stores").ObservableQuerySupplyTotal; queryDistributionParams: import("@keplr-wallet/stores/build/query/cosmos/distribution").ObservableQueryDistributionParams; queryInflation: import("@keplr-wallet/stores").ObservableQueryInflation; queryRewards: import("@keplr-wallet/stores").ObservableQueryRewards; queryDelegations: import("@keplr-wallet/stores").ObservableQueryDelegations; queryUnbondingDelegations: import("@keplr-wallet/stores").ObservableQueryUnbondingDelegations; queryValidators: import("@keplr-wallet/stores").ObservableQueryValidators; queryGovernance: import("@keplr-wallet/stores").ObservableQueryGovernance; queryProposalVote: import("@keplr-wallet/stores").ObservableQueryProposalVote; queryIBCClientState: import("@keplr-wallet/stores").ObservableQueryIBCClientState; queryIBCChannel: import("@keplr-wallet/stores").ObservableQueryIBCChannel; queryIBCDenomTrace: import("@keplr-wallet/stores").ObservableQueryDenomTrace; querySifchainAPY: import("@keplr-wallet/stores/build/query/cosmos/supply/sifchain").ObservableQuerySifchainLiquidityAPY; }>; protected get osmosisQueries(): import("../../queries/store").OsmosisQueriesImpl; get unstakingDuration(): import("dayjs/plugin/duration").Duration; get isSuperfluid(): boolean; get delegatedSuperfluidValidatorAddress(): string | undefined; /** Superfluid staked positions, with API and relevant validator info. */ get delegatedPositionInfos(): { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; superfluidApr: RatePretty; validatorAddress: string; lockId: string; equivalentStakedAmount: CoinPretty; positionId: string; }[]; get undelegatingPositionInfos(): { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; superfluidApr: RatePretty; validatorAddress: string; lockId: string; equivalentStakedAmount: CoinPretty; endTime: Date; positionId: string; }[]; /** Bonding or unbonding. */ readonly hasSuperfluidDelegatedPositionInPool: (poolId: string) => boolean; /** Superfluid delegated position by ID, with API and relevant validator info. */ readonly getDelegatedPositionInfo: (positionId: string) => { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; superfluidApr: RatePretty; validatorAddress: string; lockId: string; equivalentStakedAmount: CoinPretty; positionId: string; } | undefined; /** Superfluid staked position by ID, with API and relevant validator info. */ readonly getUndelegatingPositionInfo: (positionId: string) => { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; superfluidApr: RatePretty; validatorAddress: string; lockId: string; equivalentStakedAmount: CoinPretty; endTime: Date; positionId: string; } | undefined; /** Wraps `gauges` member of pool detail store with potential superfluid APR info. */ get gaugesWithSuperfluidApr(): { superfluidApr: RatePretty | undefined; id: string; /** Bonding or unbonding. */ duration: import("dayjs/plugin/duration").Duration; apr: RatePretty; isLoading: boolean; }[]; get superfluidApr(): RatePretty; /** Superfluid and share pool only: the lock IDs that are eligible for superfluid staking; "Go Superfluid" */ get userUpgradeableSharePoolLockIds(): { amount: CoinPretty; lockIds: string[]; } | undefined; /** If share superfluid pool: get's user's one or more share delegation validator info and amount. */ get userSharesDelegations(): { validatorName: string | undefined; validatorCommission: RatePretty | undefined; validatorImgSrc: string | undefined; inactive: "jailed" | "inactive" | undefined; apr: RatePretty; equivalentOsmoAmount: CoinPretty; }[] | undefined; get userSharesUndelegations(): { validatorName: string | undefined; inactive: "jailed" | "inactive" | undefined; amount: CoinPretty; endTime: Date; }[] | undefined; readonly getValidatorInfo: (validatorBech32Address: string) => SuperfluidValidatorInfo; } export declare class ObservableSuperfluidPoolDetails extends HasMapStore { protected readonly osmosisChainId: string; protected readonly queriesStore: IQueriesStore; protected readonly accountStore: AccountStore; protected readonly sharePoolDetails: ObservableSharePoolDetails; protected readonly concentratedPoolDetails: ObservableConcentratedPoolDetails; protected readonly priceStore: IPriceStore; constructor(osmosisChainId: string, queriesStore: IQueriesStore, accountStore: AccountStore, sharePoolDetails: ObservableSharePoolDetails, concentratedPoolDetails: ObservableConcentratedPoolDetails, priceStore: IPriceStore); get(poolId: string): ObservableSuperfluidPoolDetail; }