export const useFeesStrategy = (a, t) => {
    const networkInfo = t.networkInfo;
    if (!networkInfo)
        return [];
    const strategies = networkInfo.feeItems.items
        .map(feeItem => {
        return {
            label: feeItem.speed,
            amount: feeItem.feePerByte,
            unit: a.currency.units[a.currency.units.length - 1], // Should be sat
        };
    })
        .reverse();
    return strategies;
};
//# sourceMappingURL=react.js.map