import type { ExchangeClient } from '@solncebro/exchange-engine'; import { ExchangeConnectorByName, ExchangeNameEnum, OrderAttributes, OrderParams, PriceLimitBounds, PriceLimitBoundsArgs, SymbolMappingByExchange } from '../types'; interface SetupLeverageAndMarginModeEnumArgs { exchangeConnectorByName: ExchangeConnectorByName; symbolMappingByExchange: SymbolMappingByExchange; leverage: number; } interface BaseOrderCalculationArgs { stopBuyAfterPercent: number; allowedVolumeByExchange: Map; leverage: number; } interface CreateOrderAttributesForSymbolArgs extends BaseOrderCalculationArgs { isLong: boolean; exchangeConnectorByName: ExchangeConnectorByName; symbolMappingByExchange: SymbolMappingByExchange; } interface EnrichWithSpotFallbackArgs extends BaseOrderCalculationArgs { orderAttributesList: OrderAttributes[]; exchangeConnectorByName: ExchangeConnectorByName; } interface CalculateLimitOrderWithPriceAdjustmentArgs { orderParams: OrderParams; priceAdjustmentPercent: number; orderVolumeUsdt: number; leverage?: number; exchangeClient?: ExchangeClient; } export declare class OrderCalculator { private static addPercent; private static calculateOrderAmount; private static resolveOrderSideEnum; private static iterateSymbolMappingByExchange; static getUniqueSymbolCountFromMapping(symbolMappingByExchange: SymbolMappingByExchange): number; private static calculateAmountForMarketType; private static createOrderAttributesForMarketType; static resolveSymbolsForExchanges(symbolList: string[], exchangeConnectorByName: ExchangeConnectorByName): SymbolMappingByExchange; static setupLeverageAndMarginModeEnum(args: SetupLeverageAndMarginModeEnumArgs): Promise; static createOrderAttributesForSymbol(args: CreateOrderAttributesForSymbolArgs): OrderAttributes[]; static enrichWithSpotFallback(args: EnrichWithSpotFallbackArgs): OrderAttributes[]; static calculateLimitOrderWithPriceAdjustment(args: CalculateLimitOrderWithPriceAdjustmentArgs): OrderParams; static calculatePriceLimitBounds(args: PriceLimitBoundsArgs): PriceLimitBounds | null; static calculateCloseOrder(orderParams: OrderParams, priceShiftPercent: number, isTakeProfit: boolean): OrderParams; } export {}; //# sourceMappingURL=orderCalculator.d.ts.map