import { type ContractRunner } from "ethers";
import type { IE3RefundManager, IE3RefundManagerInterface } from "../../../contracts/interfaces/IE3RefundManager.js";
export declare class IE3RefundManager__factory {
    static readonly abi: readonly [{
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address";
            readonly name: "claimant";
            readonly type: "address";
        }];
        readonly name: "AlreadyClaimed";
        readonly type: "error";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "E3NotFailed";
        readonly type: "error";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "NoRefundAvailable";
        readonly type: "error";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address";
            readonly name: "caller";
            readonly type: "address";
        }];
        readonly name: "NotHonestNode";
        readonly type: "error";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address";
            readonly name: "caller";
            readonly type: "address";
        }];
        readonly name: "NotRequester";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "NothingToClaim";
        readonly type: "error";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "RefundNotCalculated";
        readonly type: "error";
    }, {
        readonly inputs: readonly [];
        readonly name: "Unauthorized";
        readonly type: "error";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "interfold";
            readonly type: "address";
        }];
        readonly name: "InterfoldSet";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "OrphanedSlashedFundsWithdrawn";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "claimant";
            readonly type: "address";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "bytes32";
            readonly name: "claimType";
            readonly type: "bytes32";
        }];
        readonly name: "RefundClaimed";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "requesterAmount";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "honestNodeAmount";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "protocolAmount";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "totalSlashed";
            readonly type: "uint256";
        }];
        readonly name: "RefundDistributionCalculated";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "toRequester";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "toHonestNodes";
            readonly type: "uint256";
        }];
        readonly name: "SlashedFundsApplied";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "account";
            readonly type: "address";
        }, {
            readonly indexed: true;
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "SlashedFundsClaimed";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "account";
            readonly type: "address";
        }, {
            readonly indexed: true;
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "SlashedFundsCredited";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "toNodes";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "toProtocol";
            readonly type: "uint256";
        }];
        readonly name: "SlashedFundsDistributedOnSuccess";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "SlashedFundsEscrowed";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "treasury";
            readonly type: "address";
        }];
        readonly name: "TreasurySet";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "treasury";
            readonly type: "address";
        }, {
            readonly indexed: true;
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "TreasurySlashedClaimed";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly indexed: true;
            readonly internalType: "address";
            readonly name: "treasury";
            readonly type: "address";
        }, {
            readonly indexed: true;
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }, {
            readonly indexed: false;
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "TreasurySlashedCredited";
        readonly type: "event";
    }, {
        readonly anonymous: false;
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint16";
                readonly name: "committeeFormationBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "dkgBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "decryptionBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "protocolBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "successSlashedNodeBps";
                readonly type: "uint16";
            }];
            readonly indexed: false;
            readonly internalType: "struct IE3RefundManager.WorkValueAllocation";
            readonly name: "allocation";
            readonly type: "tuple";
        }];
        readonly name: "WorkAllocationUpdated";
        readonly type: "event";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "originalPayment";
            readonly type: "uint256";
        }, {
            readonly internalType: "address[]";
            readonly name: "honestNodes";
            readonly type: "address[]";
        }, {
            readonly internalType: "contract IERC20";
            readonly name: "paymentToken";
            readonly type: "address";
        }];
        readonly name: "calculateRefund";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "enum IInterfold.E3Stage";
            readonly name: "stage";
            readonly type: "uint8";
        }];
        readonly name: "calculateWorkValue";
        readonly outputs: readonly [{
            readonly internalType: "uint16";
            readonly name: "workCompletedBps";
            readonly type: "uint16";
        }, {
            readonly internalType: "uint16";
            readonly name: "workRemainingBps";
            readonly type: "uint16";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "claimHonestNodeReward";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "claimRequesterRefund";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "claimSlashedFundsOnSuccess";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256[]";
            readonly name: "e3Ids";
            readonly type: "uint256[]";
        }];
        readonly name: "claimSlashedFundsOnSuccessBatch";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address[]";
            readonly name: "honestNodes";
            readonly type: "address[]";
        }, {
            readonly internalType: "contract IERC20";
            readonly name: "paymentToken";
            readonly type: "address";
        }];
        readonly name: "distributeSlashedFundsOnSuccess";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly name: "escrowSlashedFunds";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }];
        readonly name: "getRefundDistribution";
        readonly outputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint256";
                readonly name: "requesterAmount";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "honestNodeAmount";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "protocolAmount";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "totalSlashed";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "honestNodeCount";
                readonly type: "uint256";
            }, {
                readonly internalType: "bool";
                readonly name: "calculated";
                readonly type: "bool";
            }, {
                readonly internalType: "contract IERC20";
                readonly name: "feeToken";
                readonly type: "address";
            }, {
                readonly internalType: "uint256";
                readonly name: "originalPayment";
                readonly type: "uint256";
            }, {
                readonly internalType: "uint256";
                readonly name: "perNodeAmount";
                readonly type: "uint256";
            }];
            readonly internalType: "struct IE3RefundManager.RefundDistribution";
            readonly name: "distribution";
            readonly type: "tuple";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [];
        readonly name: "getWorkAllocation";
        readonly outputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint16";
                readonly name: "committeeFormationBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "dkgBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "decryptionBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "protocolBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "successSlashedNodeBps";
                readonly type: "uint16";
            }];
            readonly internalType: "struct IE3RefundManager.WorkValueAllocation";
            readonly name: "allocation";
            readonly type: "tuple";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address";
            readonly name: "claimant";
            readonly type: "address";
        }];
        readonly name: "hasClaimed";
        readonly outputs: readonly [{
            readonly internalType: "bool";
            readonly name: "claimed";
            readonly type: "bool";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "e3Id";
            readonly type: "uint256";
        }, {
            readonly internalType: "address";
            readonly name: "account";
            readonly type: "address";
        }];
        readonly name: "pendingSlashedFundsOnSuccess";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "address";
            readonly name: "treasury";
            readonly type: "address";
        }, {
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }];
        readonly name: "pendingTreasuryClaim";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "";
            readonly type: "uint256";
        }];
        readonly stateMutability: "view";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly components: readonly [{
                readonly internalType: "uint16";
                readonly name: "committeeFormationBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "dkgBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "decryptionBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "protocolBps";
                readonly type: "uint16";
            }, {
                readonly internalType: "uint16";
                readonly name: "successSlashedNodeBps";
                readonly type: "uint16";
            }];
            readonly internalType: "struct IE3RefundManager.WorkValueAllocation";
            readonly name: "allocation";
            readonly type: "tuple";
        }];
        readonly name: "setWorkAllocation";
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }, {
        readonly inputs: readonly [{
            readonly internalType: "contract IERC20";
            readonly name: "token";
            readonly type: "address";
        }];
        readonly name: "treasuryClaim";
        readonly outputs: readonly [{
            readonly internalType: "uint256";
            readonly name: "amount";
            readonly type: "uint256";
        }];
        readonly stateMutability: "nonpayable";
        readonly type: "function";
    }];
    static createInterface(): IE3RefundManagerInterface;
    static connect(address: string, runner?: ContractRunner | null): IE3RefundManager;
}
//# sourceMappingURL=IE3RefundManager__factory.d.ts.map