/// import { PublicKey } from "@solana/web3.js"; import BN from "bn.js"; import { RepaymentSchedule as ProgramRepaymentSchedule } from "../idl/idl.types"; import { Deal } from "./Deal"; import { DistributionWaterfall } from "./DistributionWaterfall"; import { RepaymentPeriod } from "./RepaymentPeriod"; export declare enum DaycountConvention { ACT360 = "act360", ACT365 = "act365" } export declare class RepaymentSchedule { private programVersion; address: PublicKey; periods: RepaymentPeriod[]; waterfallDefinitions: DistributionWaterfall[]; constructor(programVersion: ProgramRepaymentSchedule, address: PublicKey); get totalPeriods(): number; get start(): BN; get daycountConvention(): DaycountConvention; get duration(): number; currentPeriodIndex(): number | null; previousPeriodIndex(): number | null; get currentPeriod(): RepaymentPeriod | null; get previousPeriod(): RepaymentPeriod | null; get currentPeriodDue(): RepaymentPeriod | null; static generatePDA(deal: Deal): [PublicKey, number]; get hasCashSweepPeriod(): boolean; get isCurrentPeriodCashSweep(): boolean; } //# sourceMappingURL=RepaymentSchedule.d.ts.map