import { ActionWithL2 } from '../../ActionWithL2'; import { EthAddress, uint8, uint16, uint256 } from '../../types'; /** * SparkPaybackAction - Payback debt on Spark using underlying token * * @category Spark */ export declare class SparkPaybackAction extends ActionWithL2 { tokenForApproval: EthAddress; /** * @param useOnDefaultMarket If this is true it defaults to the hardcoded market in contract * @param market Address provider for specific market * @param amount Amount of tokens to be payed back * @param from Tokens will be supplied from this address * @param rateMode Type of borrow debt [Stable: 1, Variable: 2] * @param tokenAddress Address of token to pay back. * @param assetId The id of the underlying asset to be repaid * @param useOnBehalf use on behalf param or default to proxy * @param onBehalf For what user we are paying back the debt, defaults to proxy */ constructor(useOnDefaultMarket: boolean, market: EthAddress, amount: uint256, from: EthAddress, rateMode: uint8, tokenAddress: EthAddress, assetId: uint16, useOnBehalf: boolean, onBehalf?: EthAddress); getAssetsToApprove(): Promise<{ asset: string; owner: any; }[]>; encodeInputs(): string; }