import { Trade } from "../types"; import { ValidateCounterTradeContext, ValidateCounterTradeResult } from "./types"; /** * Validates a counter trade based on pair OI skew, matching the contract's validateCounterTrade logic * @param trade Trade object * @param positionSizeCollateral Position size in collateral tokens * @param context Context containing the pair OI skew * @returns Validation result with exceeding collateral amount if applicable */ export declare function validateCounterTrade(trade: Trade, positionSizeCollateral: number, context: ValidateCounterTradeContext): ValidateCounterTradeResult;