import { ActionWithL2 } from '../../ActionWithL2'; import { EthAddress, uint8, uint16, uint256 } from '../../types'; /** * SparkDelegateCredit - Delegate credit * * @category Spark */ export declare class SparkDelegateCredit extends ActionWithL2 { /** * @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 rateMode Type of borrow debt [Stable: 1, Variable: 2] * @param assetId The id of the token to be borrowed * @param delegatee The id of the underlying asset to be repaid */ constructor(useOnDefaultMarket: boolean, market: EthAddress, amount: uint256, rateMode: uint8, assetId: uint16, delegatee: EthAddress); encodeInputs(): string; }