/**
 * This code was AUTOGENERATED using the Codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun Codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { combineCodec, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, } from "@solana/kit";
export function getRemoteTokenMessengerAddedEncoder() {
    return getStructEncoder([
        ["domain", getU32Encoder()],
        ["tokenMessenger", getAddressEncoder()],
    ]);
}
export function getRemoteTokenMessengerAddedDecoder() {
    return getStructDecoder([
        ["domain", getU32Decoder()],
        ["tokenMessenger", getAddressDecoder()],
    ]);
}
export function getRemoteTokenMessengerAddedCodec() {
    return combineCodec(getRemoteTokenMessengerAddedEncoder(), getRemoteTokenMessengerAddedDecoder());
}
//# sourceMappingURL=remoteTokenMessengerAdded.js.map