import { Action } from '../../Action'; import { EthAddress, bytes32, uint256 } from '../../types'; /** * MidnightBorrowFromOrdersAction - Borrow from one or more Midnight offers. * * @category MidnightBorrowFromOrders */ export declare class MidnightBorrowFromOrdersAction extends Action { /** * @param marketId Market id. * @param onBehalf Address to borrow tokens on behalf of. Defaults to the user's wallet if not provided. * @param to Address to send the borrowed tokens to. * @param amount Amount of tokens to borrow. * @param maxUnits Maximum number of units to take from the orders (slippage protection). * @param offerFills Array of offer fills to borrow from. */ constructor(marketId: bytes32, onBehalf: EthAddress, to: EthAddress, amount: uint256, maxUnits: uint256, offerFills: Array); }