import { ObservableChainQuery, ObservableChainQueryMap } from "../../chain-query"; import { ChainGetter } from "../../../chain"; import { ClientStateResponse } from "./types"; import { QuerySharedContext } from "../../../common"; export declare class ObservableChainQueryClientState extends ObservableChainQuery { protected readonly portId: string; protected readonly channelId: string; protected disposer?: () => void; constructor(sharedContext: QuerySharedContext, chainId: string, chainGetter: ChainGetter, portId: string, channelId: string); protected onStart(): void; protected onStop(): void; /** * clientChainId returns the chain id of the client state if the client state's type is known (currently, only tendermint is supported). */ get clientChainId(): string | undefined; } export declare class ObservableQueryIBCClientState extends ObservableChainQueryMap { constructor(sharedContext: QuerySharedContext, chainId: string, chainGetter: ChainGetter); getClientStateOnTransferPort(channelId: string): ObservableChainQueryClientState; getClientState(portId: string, channelId: string): ObservableChainQueryClientState; }