Fix TypeScript build errors
- Remove duplicate EscalationLevel export from regulatory.ts - Add missing logger.ts and reports.ts files to audit package - Fix treasury package type issues - Clean dist folders and rebuild
This commit is contained in:
31
packages/utils/src/eo-uplift.d.ts
vendored
Normal file
31
packages/utils/src/eo-uplift.d.ts
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Errors & Omissions (E&O) Uplift calculator
|
||||
*
|
||||
* E&O uplift is a +10% exposure buffer applied to transaction amounts
|
||||
* to account for errors and omissions outside of direct operations.
|
||||
*
|
||||
* Treatment: Off-balance-sheet, non-booked risk buffer
|
||||
*/
|
||||
import type { EOUplift, TransactionEOUplift, BatchEOUplift } from '@brazil-swift-ops/types';
|
||||
export declare const DEFAULT_EO_UPLIFT_RATE = 0.1;
|
||||
/**
|
||||
* Calculate E&O uplift for a single transaction
|
||||
*/
|
||||
export declare function calculateTransactionEOUplift(baseAmount: number, currency: string, upliftRate?: number, usdEquivalent?: number): TransactionEOUplift;
|
||||
/**
|
||||
* Calculate E&O uplift for a batch of transactions
|
||||
*/
|
||||
export declare function calculateBatchEOUplift(baseAmount: number, currency: string, transactionCount: number, upliftRate?: number, usdEquivalent?: number): BatchEOUplift;
|
||||
/**
|
||||
* Calculate E&O uplift for a simple amount (no transaction context)
|
||||
*/
|
||||
export declare function calculateEOUplift(baseAmount: number, upliftRate?: number): EOUplift;
|
||||
/**
|
||||
* Apply E&O uplift to an array of transaction amounts
|
||||
*/
|
||||
export declare function applyEOUpliftToAmounts(amounts: number[], upliftRate?: number): {
|
||||
baseAmount: number;
|
||||
upliftAmount: number;
|
||||
adjustedExposure: number;
|
||||
}[];
|
||||
//# sourceMappingURL=eo-uplift.d.ts.map
|
||||
Reference in New Issue
Block a user