"use strict";
/**
 * 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
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSignerSetEncoder = getSignerSetEncoder;
exports.getSignerSetDecoder = getSignerSetDecoder;
exports.getSignerSetCodec = getSignerSetCodec;
const kit_1 = require("@solana/kit");
function getSignerSetEncoder() {
    return (0, kit_1.getStructEncoder)([
        ['oldSigner', (0, kit_1.getAddressEncoder)()],
        ['newSigner', (0, kit_1.getAddressEncoder)()],
    ]);
}
function getSignerSetDecoder() {
    return (0, kit_1.getStructDecoder)([
        ['oldSigner', (0, kit_1.getAddressDecoder)()],
        ['newSigner', (0, kit_1.getAddressDecoder)()],
    ]);
}
function getSignerSetCodec() {
    return (0, kit_1.combineCodec)(getSignerSetEncoder(), getSignerSetDecoder());
}
