///
import { PublicKey } from "@solana/web3.js";
import { DealTranches as ProgramTranches } from "../idl/idl.types";
import { Base } from "../rpc/Base";
import { CredixClient, SolanaContext } from "../rpc/CredixClient";
import { Deal } from "./Deal";
import { Tranche } from "./Tranche";
export declare class Tranches extends Base {
address: PublicKey;
tranches: Tranche[];
constructor(address: PublicKey, programVersion: ProgramTranches, deal: Deal, client: CredixClient, solanaContext: SolanaContext);
get totalTranches(): number;
get isRepaid(): boolean;
get totalPrincipal(): import("@solana/web3.js").TokenAmount;
get canHaveLateFees(): boolean;
get totalPrincipalRepaid(): import("@solana/web3.js").TokenAmount;
get totalInterestRepaid(): import("@solana/web3.js").TokenAmount;
get totalOutstandingCredit(): import("@solana/web3.js").TokenAmount;
get totalAmountDue(): import("@solana/web3.js").TokenAmount;
get totalInterestDue(): import("@solana/web3.js").TokenAmount;
get hasVariableRates(): boolean;
static generatePDA(deal: Deal): [PublicKey, number];
}
//# sourceMappingURL=Tranches.d.ts.map