import { QueryDenomResponse, QueryDenomsResponse, QueryParamsResponse as QueryTransferParamsResponse } from "cosmjs-types/ibc/applications/transfer/v1/query"; import { QueryChannelClientStateResponse, QueryChannelConsensusStateResponse, QueryChannelResponse, QueryChannelsResponse, QueryConnectionChannelsResponse, QueryNextSequenceReceiveResponse, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsResponse, QueryPacketCommitmentResponse, QueryPacketCommitmentsResponse, QueryPacketReceiptResponse, QueryUnreceivedAcksResponse, QueryUnreceivedPacketsResponse } from "cosmjs-types/ibc/core/channel/v1/query"; import { Height } from "cosmjs-types/ibc/core/client/v1/client"; import { QueryClientParamsResponse, QueryClientStateResponse, QueryClientStatesResponse, QueryConsensusStateResponse, QueryConsensusStatesResponse } from "cosmjs-types/ibc/core/client/v1/query"; import { QueryClientConnectionsResponse, QueryConnectionClientStateResponse, QueryConnectionConsensusStateResponse, QueryConnectionResponse, QueryConnectionsResponse } from "cosmjs-types/ibc/core/connection/v1/query"; import { ClientState as TendermintClientState, ConsensusState as TendermintConsensusState } from "cosmjs-types/ibc/lightclients/tendermint/v1/tendermint"; import { QueryClient } from "../../queryclient"; export interface IbcExtension { readonly ibc: { readonly channel: { readonly channel: (portId: string, channelId: string) => Promise; readonly channels: (paginationKey?: Uint8Array) => Promise; readonly allChannels: () => Promise; readonly connectionChannels: (connection: string, paginationKey?: Uint8Array) => Promise; readonly allConnectionChannels: (connection: string) => Promise; readonly clientState: (portId: string, channelId: string) => Promise; readonly consensusState: (portId: string, channelId: string, revisionNumber: number, revisionHeight: number) => Promise; readonly packetCommitment: (portId: string, channelId: string, sequence: number) => Promise; readonly packetCommitments: (portId: string, channelId: string, paginationKey?: Uint8Array) => Promise; readonly allPacketCommitments: (portId: string, channelId: string) => Promise; readonly packetReceipt: (portId: string, channelId: string, sequence: number) => Promise; readonly packetAcknowledgement: (portId: string, channelId: string, sequence: number) => Promise; readonly packetAcknowledgements: (portId: string, channelId: string, paginationKey?: Uint8Array) => Promise; readonly allPacketAcknowledgements: (portId: string, channelId: string) => Promise; readonly unreceivedPackets: (portId: string, channelId: string, packetCommitmentSequences: readonly number[]) => Promise; readonly unreceivedAcks: (portId: string, channelId: string, packetAckSequences: readonly number[]) => Promise; readonly nextSequenceReceive: (portId: string, channelId: string) => Promise; }; readonly client: { readonly state: (clientId: string) => Promise; readonly states: (paginationKey?: Uint8Array) => Promise; readonly allStates: () => Promise; readonly consensusState: (clientId: string, height?: number) => Promise; readonly consensusStates: (clientId: string, paginationKey?: Uint8Array) => Promise; readonly allConsensusStates: (clientId: string) => Promise; readonly params: () => Promise; readonly stateTm: (clientId: string) => Promise; readonly statesTm: (paginationKey?: Uint8Array) => Promise; readonly allStatesTm: () => Promise; readonly consensusStateTm: (clientId: string, height?: Height) => Promise; }; readonly connection: { readonly connection: (connectionId: string) => Promise; readonly connections: (paginationKey?: Uint8Array) => Promise; readonly allConnections: () => Promise; readonly clientConnections: (clientId: string) => Promise; readonly clientState: (connectionId: string) => Promise; readonly consensusState: (connectionId: string, revisionNumber: number, revisionHeight: number) => Promise; }; readonly transfer: { readonly denomTrace: (hash: string) => Promise; readonly denomTraces: (paginationKey?: Uint8Array) => Promise; readonly allDenomTraces: () => Promise; readonly params: () => Promise; }; }; } export declare function setupIbcExtension(base: QueryClient): IbcExtension;