import { Action } from '../../Action'; import { EthAddress, bytes32, uint256 } from '../../types'; /** * MidnightPaybackFromOrdersAction - Pay back debt through one or more Midnight offers. * * @category MidnightPaybackFromOrders */ export declare class MidnightPaybackFromOrdersAction extends Action { /** * @param marketId Market id. * @param onBehalf Address whose debt is repaid. Defaults to the user's wallet if not provided. * @param from Address from which to pull the payback tokens. * @param amount Amount of tokens to spend. Send type(uint).max to pay back the whole debt. * @param minUnits Minimum number of debt units to repay (slippage protection). * @param offerFills Array of offer fills to pay back from. */ constructor(marketId: bytes32, onBehalf: EthAddress, from: EthAddress, amount: uint256, minUnits: uint256, offerFills: Array); }