import { Rpc } from "../../../helpers"; import { QueryClient } from "@cosmjs/stargate"; import { QueryInterchainAccountFromAddressRequest, QueryInterchainAccountFromAddressResponse, QueryFlowRequest, QueryFlowResponse, QueryFlowHistoryRequest, QueryFlowHistoryResponse, QueryFlowsRequest, QueryFlowsResponse, QueryFlowsForOwnerRequest, QueryFlowsForOwnerResponse, QueryTrustlessAgentRequest, QueryTrustlessAgentResponse, QueryTrustlessAgentsRequest, QueryTrustlessAgentsResponse, QueryTrustlessAgentsByFeeAdminRequest, QueryTrustlessAgentsByFeeAdminResponse, QueryParamsRequest, QueryParamsResponse, QueryTotalBurntRequest, QueryTotalBurntResponse } from "./query"; /** Query defines the gRPC querier service. */ export interface Query { /** * QueryInterchainAccountFromAddress returns the interchain account for given * owner address on a given connection pair */ interchainAccountFromAddress(request: QueryInterchainAccountFromAddressRequest): Promise; /** Flow returns the auto-executing interchain account tx */ flow(request: QueryFlowRequest): Promise; /** FlowHistory returns the flow history */ flowHistory(request: QueryFlowHistoryRequest): Promise; /** Flows returns the all flows */ flows(request?: QueryFlowsRequest): Promise; /** FlowsForOwner returns all flows for a given owner */ flowsForOwner(request: QueryFlowsForOwnerRequest): Promise; /** TrustlessAgent returns the trustless agent information for a given hosted address */ trustlessAgent(request: QueryTrustlessAgentRequest): Promise; /** TrustlessAgents returns all trustless agents */ trustlessAgents(request?: QueryTrustlessAgentsRequest): Promise; /** TrustlessAgentsByFeeAdmin returns all trustless agents for a given fee admin address */ trustlessAgentsByFeeAdmin(request: QueryTrustlessAgentsByFeeAdminRequest): Promise; /** Params returns the total set of Intent parameters. */ params(request?: QueryParamsRequest): Promise; /** TotalBurnt returns the total amount of coins that have been burnt */ totalBurnt(request?: QueryTotalBurntRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); interchainAccountFromAddress(request: QueryInterchainAccountFromAddressRequest): Promise; flow(request: QueryFlowRequest): Promise; flowHistory(request: QueryFlowHistoryRequest): Promise; flows(request?: QueryFlowsRequest): Promise; flowsForOwner(request: QueryFlowsForOwnerRequest): Promise; trustlessAgent(request: QueryTrustlessAgentRequest): Promise; trustlessAgents(request?: QueryTrustlessAgentsRequest): Promise; trustlessAgentsByFeeAdmin(request: QueryTrustlessAgentsByFeeAdminRequest): Promise; params(request?: QueryParamsRequest): Promise; totalBurnt(request?: QueryTotalBurntRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { interchainAccountFromAddress(request: QueryInterchainAccountFromAddressRequest): Promise; flow(request: QueryFlowRequest): Promise; flowHistory(request: QueryFlowHistoryRequest): Promise; flows(request?: QueryFlowsRequest): Promise; flowsForOwner(request: QueryFlowsForOwnerRequest): Promise; trustlessAgent(request: QueryTrustlessAgentRequest): Promise; trustlessAgents(request?: QueryTrustlessAgentsRequest): Promise; trustlessAgentsByFeeAdmin(request: QueryTrustlessAgentsByFeeAdminRequest): Promise; params(request?: QueryParamsRequest): Promise; totalBurnt(request?: QueryTotalBurntRequest): Promise; };