import { FixedPointNumber } from "./FixedPointNumber"; import { Ray } from "./Ray"; /** * Calculates the compounded rate over a given duration. * @param rate The rate as FixedPointNumber * @param duration The duration in seconds * @returns The compounded rate as FixedPointNumber */ export declare function calculateCompoundedRate(rate: FixedPointNumber, duration: number): FixedPointNumber; /** * Calculates the compounded interest since the last update timestamp. * @param rate The interest rate as a Ray * @param lastUpdateTimestamp The timestamp of the last update * @returns The compounded interest as a Ray */ export declare function calculateCompoundedInterest(rate: Ray, lastUpdateTimestamp: number): FixedPointNumber;