export function getPayButtonState(paymentMethod, topUpProviderSupportService, amount, topUpMethod) {
    if (topUpMethod !== 'fiat') {
        return 'hidden';
    }
    if (!paymentMethod) {
        return 'disabled';
    }
    var isPayButtonActive = Number(amount) > 0 || !topUpProviderSupportService.isInputAmountUsed(paymentMethod);
    return isPayButtonActive ? 'active' : 'disabled';
}
//# sourceMappingURL=getPayButtonState.js.map