import { ICollectionAuditedEntity } from './Common'; export declare enum InterestType { COMPENSATORY = "COMPENSATORY", PENALTY = "PENALTY" } export declare enum InterestCalculationMethod { SIMPLE = "SIMPLE", COMPOUND = "COMPOUND" } export declare enum InterestRatePeriod { DAILY = "DAILY", MONTHLY = "MONTHLY", ANNUAL = "ANNUAL" } export declare enum InterestDayCountBasis { ACTUAL_365 = "ACTUAL_365", ACTUAL_360 = "ACTUAL_360", THIRTY_360 = "THIRTY_360" } export interface IInterestRatePeriod { rate: string; period: InterestRatePeriod; validFrom: Date; validTo?: Date; } export interface IInterestComponentConfiguration { type: InterestType; method: InterestCalculationMethod; dayCountBasis: InterestDayCountBasis; capitalizationEnabled: boolean; rates: IInterestRatePeriod[]; } export interface IInterestConfiguration extends ICollectionAuditedEntity { name: string; description?: string; enabled: boolean; components: IInterestComponentConfiguration[]; }