import { ExtendedPositionInfo, FloatingIncome, PositionInfo, NoteDataType } from "@parabolfi/core";
import Big from "big.js";
export declare function getAmericaNewYorkTZDayIndex(): number;
export declare function getTimestampDiff(higher_timestamp: Big, lower_timestamp: Big): Big.Big;
export declare function getTimestampDay(timestamp: Big): Big;
export declare function getCurrentTimestamp(): Big;
export declare function getApproximateFixedIncome(principal: Big, coupon: Big, lendTimestamp: Big, maturityTimestamp: Big): Big.Big;
export declare function getFixedRate(notes: Array<NoteDataType>): {
    rate: number;
};
export declare function getFloatingRate(floatingIncomes: FloatingIncome[]): number;
export declare function getMarketRates(notes: Array<NoteDataType>, floatingIncomes: Array<FloatingIncome>): {
    marketRate: string;
    floatingRate: string;
    highestFixedRate: string;
};
export declare function getFixedIncome(principal: Big, coupon: Big, lendTimestamp: Big, maturityTimestamp: Big): {
    currentFixedIncome: Big.Big;
    approximateFixedIncome: Big.Big;
};
export declare function getFirstDayFloatingIncome(principal: Big, lendTimestamp: Big, floatingIncomes: Array<FloatingIncome>): Big.Big;
export declare function getFloatingIncome(principal: Big, lendTimestamp: Big, maturityTimestamp: Big, lastUpdatedFloatingIncomeDay: Big, floatingIncomes: Array<FloatingIncome>): {
    lendDayFloatingIncome: Big;
    totalFloatingIncome: Big;
};
export declare function getNotePositionTotalDuration(lendTimestamp: Big, maturityTimestamp: Big): {
    staticDuration: {
        year: number;
        month: number;
        day: number;
    };
    dynamicDuration: {
        totalDays: number;
        hours: number;
        minutes: number;
    };
};
export declare function getEstimationOfFloatingIncomeUntilMaturity(floatingIncomes: Array<FloatingIncome>, lastUpdatedFloatingIncomeDay: Big, principal: Big, lendTimestamp: Big, maturityTimestamp: Big): Big.Big;
export declare function getNotePositionEarnings(principal: Big, coupon: Big, lendTimestamp: Big, maturityTimestamp: Big, floatingIncomes: Array<FloatingIncome>): {
    fixedCurrentIncome: Big.Big;
    fixedApproximateIncome: Big.Big;
    floatingCurrentIncome: Big.Big;
    floatingApproximateIncome: Big.Big;
    totalCurrentIncome: Big.Big;
    approximateIncome: Big.Big;
};
export declare function getActionDateAsString(timestamp: Big, detailed?: boolean): string;
export declare function getProgress(lendTimestamp: Big, maturityTimestamp: Big): number;
export declare function getExtendedPositionData(data: Array<PositionInfo>, floatingIncomeEvents: FloatingIncome[]): {
    extendedPositions: ExtendedPositionInfo[];
    totalLoaned: Big;
    totalEarned_fixed: Big;
    totalEarned_bonus: Big;
};
//# sourceMappingURL=getters.d.ts.map