import { MoneyWeightedReturnOptions } from '../schemas/MoneyWeightedReturnOptionsSchema'; import { MoneyWeightedReturnResult } from '../schemas/MoneyWeightedReturnResultSchema'; /** * Calculate Money-Weighted Return (MWR) using Internal Rate of Return (IRR) * * MWR measures the actual return earned by an investor based on their * specific cash flow timing and amounts. It's also known as Internal Rate of Return. * * The MWR is the discount rate that makes the NPV of all cash flows equal to zero: * NPV = CF₀ + CF₁/(1+r) + CF₂/(1+r)² + ... + CFₙ/(1+r)ⁿ = 0 * * @param options - Cash flows, dates, final value, and IRR calculation parameters * @returns MWR result with period and annualized returns * * @example * ```typescript * const mwr = calculateMoneyWeightedReturn({ * cashFlows: [-1000, 100, -50], * dates: [new Date('2023-01-01'), new Date('2023-06-01'), new Date('2023-12-01')], * finalValue: 1200, * initialValue: 0 * }); * ``` */ export declare function calculateMoneyWeightedReturn(options: MoneyWeightedReturnOptions): MoneyWeightedReturnResult;