import { ActionWithL2 } from '../../ActionWithL2'; import { EthAddress, uint8, uint16, uint256 } from '../../types'; /** * SparkSpTokenPaybackAction - Repay Spark debt using spTokens * * @category Spark */ export declare class SparkSpTokenPaybackAction extends ActionWithL2 { addressForApproval: EthAddress; /** * @param useDefaultMarket 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 (uint.max for full debt) * @param from Where are we pulling the payback spTokens from * @param rateMode Type of borrow debt [Stable: 1, Variable: 2] * @param spTokenAddr address of the spToken to be pulled * @param assetId The id of the underlying asset to be repaid */ constructor(useDefaultMarket: boolean, market: EthAddress, amount: uint256, from: EthAddress, rateMode: uint8, spTokenAddr: EthAddress, assetId: uint16); getAssetsToApprove(): Promise<{ asset: string; owner: any; }[]>; encodeInputs(): string; }