/**
 * 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 { addDecoderSizePrefix, addEncoderSizePrefix, combineCodec, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, } from "@solana/kit";
export function getReclaimedUsedNonceAccountEncoder() {
    return getStructEncoder([
        ["nonce", addEncoderSizePrefix(getBytesEncoder(), getU32Encoder())],
        ["usedNonce", getAddressEncoder()],
    ]);
}
export function getReclaimedUsedNonceAccountDecoder() {
    return getStructDecoder([
        ["nonce", addDecoderSizePrefix(getBytesDecoder(), getU32Decoder())],
        ["usedNonce", getAddressDecoder()],
    ]);
}
export function getReclaimedUsedNonceAccountCodec() {
    return combineCodec(getReclaimedUsedNonceAccountEncoder(), getReclaimedUsedNonceAccountDecoder());
}
//# sourceMappingURL=reclaimedUsedNonceAccount.js.map