import { buildQuery } from "../../../../helper-func-types";
import { GetAuthnDescriptorRequest, GetAuthnDescriptorResponse, GetChainDescriptorRequest, GetChainDescriptorResponse, GetCodecDescriptorRequest, GetCodecDescriptorResponse, GetConfigurationDescriptorRequest, GetConfigurationDescriptorResponse, GetQueryServicesDescriptorRequest, GetQueryServicesDescriptorResponse, GetTxDescriptorRequest, GetTxDescriptorResponse } from "./reflection";
export const createGetGetAuthnDescriptor = (clientResolver) => buildQuery({
    encode: GetAuthnDescriptorRequest.encode,
    decode: GetAuthnDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetAuthnDescriptor",
    clientResolver
});
export const createGetGetChainDescriptor = (clientResolver) => buildQuery({
    encode: GetChainDescriptorRequest.encode,
    decode: GetChainDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetChainDescriptor",
    clientResolver
});
export const createGetGetCodecDescriptor = (clientResolver) => buildQuery({
    encode: GetCodecDescriptorRequest.encode,
    decode: GetCodecDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetCodecDescriptor",
    clientResolver
});
export const createGetGetConfigurationDescriptor = (clientResolver) => buildQuery({
    encode: GetConfigurationDescriptorRequest.encode,
    decode: GetConfigurationDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetConfigurationDescriptor",
    clientResolver
});
export const createGetGetQueryServicesDescriptor = (clientResolver) => buildQuery({
    encode: GetQueryServicesDescriptorRequest.encode,
    decode: GetQueryServicesDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetQueryServicesDescriptor",
    clientResolver
});
export const createGetGetTxDescriptor = (clientResolver) => buildQuery({
    encode: GetTxDescriptorRequest.encode,
    decode: GetTxDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetTxDescriptor",
    clientResolver
});
