/** * @import {Timestamp} from '@agoric/time' * @import {RelativeTime} from '@agoric/time' * @import {AdminFacet, InvitationAmount, ZCFMint} from '@agoric/zoe'; */ export const SECONDS_PER_YEAR: bigint; export function makeInterestCalculator(annualRate: Ratio, chargingPeriod: RelativeTime, recordingPeriod: RelativeTime): CalculatorKit; export function calculateCompoundedInterest(priorCompoundedInterest: Ratio, priorDebt: NatValue, newDebt: NatValue): import("@agoric/ertp/src/ratio.js").Ratio; export function chargeInterest(powers: { mint: ZCFMint<"nat">; mintAndTransferWithFee: MintAndTransfer; poolIncrementSeat: ZCFSeat; seatAllocationKeyword: Keyword; }, params: { interestRate: Ratio; chargingPeriod: RelativeTime; recordingPeriod: RelativeTime; }, prior: { latestInterestUpdate: Timestamp; compoundedInterest: Ratio; totalDebt: Amount<"nat">; }, accruedUntil: Timestamp): { compoundedInterest: Ratio; latestInterestUpdate: Timestamp; totalDebt: Amount<"nat">; }; import type { RelativeTime } from '@agoric/time'; import type { ZCFMint } from '@agoric/zoe'; import type { Timestamp } from '@agoric/time'; //# sourceMappingURL=interest.d.ts.map