import type { ExnessHttpClient } from '../http/client.js'; import type { IdempotencyKey, UInt64String } from '../types/common.js'; import type { CancelAllOrdersParams, CloseAllPositionsParams, ClosePositionParams, ModifyOrderRequest, NewPendingOrderRequest, OpenPositionRequest } from '../types/requests.js'; import type { AckResponse, OperationStatusResponse, TradingStateSnapshot } from '../types/responses.js'; export declare class TradingApi { private readonly http; constructor(http: ExnessHttpClient); openPosition(accountId: UInt64String, req: OpenPositionRequest, idempotencyKey: IdempotencyKey): Promise; closePosition(accountId: UInt64String, positionId: UInt64String, params: ClosePositionParams, idempotencyKey: IdempotencyKey): Promise; closeAllPositions(accountId: UInt64String, params: CloseAllPositionsParams, idempotencyKey: IdempotencyKey): Promise; placePendingOrder(accountId: UInt64String, req: NewPendingOrderRequest, idempotencyKey: IdempotencyKey): Promise; modifyOrder(accountId: UInt64String, orderId: UInt64String, req: ModifyOrderRequest, idempotencyKey: IdempotencyKey): Promise; cancelPendingOrder(accountId: UInt64String, orderId: UInt64String, idempotencyKey: IdempotencyKey): Promise; cancelAllPendingOrders(accountId: UInt64String, params: CancelAllOrdersParams, idempotencyKey: IdempotencyKey): Promise; getTradingStateSnapshot(accountId: UInt64String): Promise; getOperationStatus(accountId: UInt64String, operationId: UInt64String): Promise; } //# sourceMappingURL=trading.d.ts.map