"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.getRepaidRentFundDebtEncoder = getRepaidRentFundDebtEncoder;
exports.getRepaidRentFundDebtDecoder = getRepaidRentFundDebtDecoder;
exports.getRepaidRentFundDebtCodec = getRepaidRentFundDebtCodec;
const kit_1 = require("@solana/kit");
function getRepaidRentFundDebtEncoder() {
    return (0, kit_1.getStructEncoder)([
        ['user', (0, kit_1.getAddressEncoder)()],
        ['amount', (0, kit_1.getU64Encoder)()],
        ['remainingUserClaim', (0, kit_1.getU64Encoder)()],
    ]);
}
function getRepaidRentFundDebtDecoder() {
    return (0, kit_1.getStructDecoder)([
        ['user', (0, kit_1.getAddressDecoder)()],
        ['amount', (0, kit_1.getU64Decoder)()],
        ['remainingUserClaim', (0, kit_1.getU64Decoder)()],
    ]);
}
function getRepaidRentFundDebtCodec() {
    return (0, kit_1.combineCodec)(getRepaidRentFundDebtEncoder(), getRepaidRentFundDebtDecoder());
}
