import { KVStore } from "@keplr-wallet/common"; import { ChainGetter, ObservableChainQuery, ObservableChainQueryMap } from "@keplr-wallet/stores"; import { ObservableQueryNodeInfo } from "../tendermint/node-info"; import { MigrationRecords } from "./types"; export declare class ObservableQueryCfmmConcentratedPoolLinks extends ObservableChainQuery { protected readonly queryNodeInfo: ObservableQueryNodeInfo; protected backCompatQueryCfmmToCL: ObservableQueryCfmmToConcentratedLiquidityPoolLinks; protected backCompatQueryClToCfmm: ObservableQueryConcentratedLiquidityToCfmmPoolLinks; constructor(kvStore: KVStore, chainId: string, chainGetter: ChainGetter, queryNodeInfo: ObservableQueryNodeInfo); protected canFetch(): boolean; protected get isV17(): boolean; /** Link to concentrated liquidity pool from the given balancer/cfmm pool ID. * Returns `undefined` if not loaded, `false`, if nonexistent, or the CL pool ID if it exists. */ readonly getLinkedConcentratedPoolId: (cfmmPooLId: any) => string | false | undefined; /** * Link to CFMM pool from the given CL pool ID. * Returns `undefined` if not loaded, `false`, if nonexistent, or the CFMM pool ID if it exists. */ readonly getLinkedCfmmPoolId: (clPoolId: any) => string | false | undefined; } export declare class ObservableQueryCfmmToConcentratedLiquidityPoolLink extends ObservableChainQuery<{ concentrated_pool_id: string; }> { protected readonly cfmmPoolId: string; constructor(kvStore: KVStore, chainId: string, chainGetter: ChainGetter, cfmmPoolId: string); protected canFetch(): boolean; /** Returns the ID of the linked concentrated liquidity pool if it exists, `false` if there's no link, or `undefined` if the request is in flight. */ get concentratedLiquidityPoolId(): string | false | undefined; } export declare class ObservableQueryCfmmToConcentratedLiquidityPoolLinks extends ObservableChainQueryMap<{ concentrated_pool_id: string; }> { protected readonly kvStore: KVStore; protected readonly chainId: string; protected readonly chainGetter: ChainGetter; constructor(kvStore: KVStore, chainId: string, chainGetter: ChainGetter); get(cfmmPoolId: string): ObservableQueryCfmmToConcentratedLiquidityPoolLink; } export declare class ObservableQueryConcentratedLiquidityToCfmmPoolLink extends ObservableChainQuery<{ cfmm_pool_id: string; }> { protected readonly clPoolId: string; constructor(kvStore: KVStore, chainId: string, chainGetter: ChainGetter, clPoolId: string); protected canFetch(): boolean; /** Returns the ID of the linked concentrated liquidity pool if it exists, `false` if there's no link, or `undefined` if the request is in flight. */ get cfmmPoolId(): string | false | undefined; } export declare class ObservableQueryConcentratedLiquidityToCfmmPoolLinks extends ObservableChainQueryMap<{ cfmm_pool_id: string; }> { protected readonly kvStore: KVStore; protected readonly chainId: string; protected readonly chainGetter: ChainGetter; constructor(kvStore: KVStore, chainId: string, chainGetter: ChainGetter); get(clPoolId: string): ObservableQueryConcentratedLiquidityToCfmmPoolLink; }