/**
 * 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, } from "@solana/kit";
export function getSetXDomainAdminEncoder() {
    return getStructEncoder([["newAdmin", getAddressEncoder()]]);
}
export function getSetXDomainAdminDecoder() {
    return getStructDecoder([["newAdmin", getAddressDecoder()]]);
}
export function getSetXDomainAdminCodec() {
    return combineCodec(getSetXDomainAdminEncoder(), getSetXDomainAdminDecoder());
}
//# sourceMappingURL=setXDomainAdmin.js.map