import { buildUseVueQuery } from "../../../../vue-query";
import { getConnection, getConnections, getClientConnections, getConnectionClientState, getConnectionConsensusState, getConnectionParams } from "./query.rpc.func";
/**
 * Connection queries an IBC connection end.
 * @name useGetConnection
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.Connection
 */
export const useGetConnection = buildUseVueQuery({
    builderQueryFn: getConnection,
    queryKeyPrefix: "ConnectionQuery"
});
/**
 * Connections queries all the IBC connections of a chain.
 * @name useGetConnections
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.Connections
 */
export const useGetConnections = buildUseVueQuery({
    builderQueryFn: getConnections,
    queryKeyPrefix: "ConnectionsQuery"
});
/**
 * ClientConnections queries the connection paths associated with a client
 * state.
 * @name useGetClientConnections
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ClientConnections
 */
export const useGetClientConnections = buildUseVueQuery({
    builderQueryFn: getClientConnections,
    queryKeyPrefix: "ClientConnectionsQuery"
});
/**
 * ConnectionClientState queries the client state associated with the
 * connection.
 * @name useGetConnectionClientState
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionClientState
 */
export const useGetConnectionClientState = buildUseVueQuery({
    builderQueryFn: getConnectionClientState,
    queryKeyPrefix: "ConnectionClientStateQuery"
});
/**
 * ConnectionConsensusState queries the consensus state associated with the
 * connection.
 * @name useGetConnectionConsensusState
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionConsensusState
 */
export const useGetConnectionConsensusState = buildUseVueQuery({
    builderQueryFn: getConnectionConsensusState,
    queryKeyPrefix: "ConnectionConsensusStateQuery"
});
/**
 * ConnectionParams queries all parameters of the ibc connection submodule.
 * @name useGetConnectionParams
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionParams
 */
export const useGetConnectionParams = buildUseVueQuery({
    builderQueryFn: getConnectionParams,
    queryKeyPrefix: "ConnectionParamsQuery"
});
