import { BillInfo, Invoice, InvoiceCurrency, TotalBill } from "../../types"; export interface Currencies { basePlanCurrency: string; creditShortName: string; paymentCurrency: string; } export interface CurrencyData { costField: "cost" | "costInBaseCurrency" | "costInCredits"; currencyField: keyof Currencies; feeField: "fee" | "feeInCredits" | "feeInBaseCurrency"; inCredits: boolean; invoiceElementName: "invoiceBillInBaseCurrency" | "invoiceBillInCredits" | "totalBill"; promotionField: "discountInCredits" | "discountInBaseCurrency" | "discount"; totalField: "priceInBaseCurrency" | "price" | "priceInCredits"; } export declare const getConfigByCurrency: (currency: InvoiceCurrency) => CurrencyData; export declare const getCustomFieldTotal: (currency: InvoiceCurrency, currencies: Currencies | undefined, invoice: Invoice, fields: Array) => string; export interface GetBillInfoTotalParams { bill: T; currencies: Currencies; currency: InvoiceCurrency; fieldName?: keyof CurrencyData; formatted?: boolean; } export declare const getBillInfoTotal: ({ currency, currencies, bill, formatted, fieldName, }: GetBillInfoTotalParams) => any;