import { ContractTransaction, Provider } from 'ethers'; import { BaseAPI } from './baseAPI'; import { TransactionData } from '../entities'; /** * Represents a class for handling pool operations related to the voidnode server and the pool contracts. * * @class OptionRewardAPI * @extends {BaseAPI} */ export declare class OptionRewardAPI extends BaseAPI { /** * Returns a promise containing a populated transaction to claim rewards from option. Allows the user to use the SDK without providing a signer. * @param strike {bigint} strike price of the option. * @param maturity {bigint} maturity of the option * @returns {Promise} Promise containing the contract transaction. */ encodeClaimRewards(strike: bigint, maturity: bigint, provider?: Provider): Promise; /** * Returns a promise containing a populated transaction to claim rewards from option. Allows the user to use the SDK without providing a signer. * @param strike {bigint} strike price of the option. * @param maturity {bigint} maturity of the option * @returns {TransactionData} The encoded transaction data. */ encodeClaimRewardsSync(strike: bigint, maturity: bigint, provider?: Provider): TransactionData; }