import { ActionWithL2 } from '../../ActionWithL2'; import { EthAddress, uint8, uint16, uint256 } from '../../types'; /** * SparkBorrowAction - Borrow a token from Spark * * @category Spark */ export declare class SparkBorrowAction extends ActionWithL2 { /** * @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 borrowed * @param to The address we are sending the borrowed tokens to * @param rateMode Type of borrow debt [Stable: 1, Variable: 2] * @param assetId The id of the token to be borrowed * @param useOnBehalf use on behalf or default to proxy * @param onBehalf On whose behalf we borrow the tokens, defaults to proxy */ constructor(useDefaultMarket: boolean, market: EthAddress, amount: uint256, to: EthAddress, rateMode: uint8, assetId: uint16, useOnBehalf: boolean, onBehalf?: EthAddress); encodeInputs(): string; }