UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

12 lines (11 loc) 414 B
import { PurchaseAmountItem } from "../../../types"; export declare function useExchangedData(data: PurchaseAmountItem[], shouldExchange: boolean, toCurrency?: string, exchangeRates?: Record<string, number>): { exchangedData: { amount: string; currency: string; site_code: string; }[]; totalAmount: number; onlyExchangedCurrency: boolean; exchangeAvailable: boolean; };