import { MsgRegisterCounterparty, MsgUpdateClientConfig } from "./tx";
export const registry = [["/ibc.core.client.v2.MsgRegisterCounterparty", MsgRegisterCounterparty], ["/ibc.core.client.v2.MsgUpdateClientConfig", MsgUpdateClientConfig]];
export const MessageComposer = {
    encoded: {
        registerCounterparty(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
                value: MsgRegisterCounterparty.encode(value).finish()
            };
        },
        updateClientConfig(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
                value: MsgUpdateClientConfig.encode(value).finish()
            };
        }
    },
    withTypeUrl: {
        registerCounterparty(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
                value
            };
        },
        updateClientConfig(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
                value
            };
        }
    },
    fromPartial: {
        registerCounterparty(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
                value: MsgRegisterCounterparty.fromPartial(value)
            };
        },
        updateClientConfig(value) {
            return {
                typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
                value: MsgUpdateClientConfig.fromPartial(value)
            };
        }
    }
};
