import * as api from '../../api'; export declare type D3Selection = d3.Selection; export interface StyleMargin { top: number; right: number; bottom: number; left: number; } export interface ChartPaddingPercents { top: number; right: number; bottom: number; } export interface ChartItem { appendTo: (parent: Element, resizeData: ResizeData) => void; resize: ({ width, height, margin }: ResizeData) => void; } export interface Scales { x: d3.ScaleTime; scaledX: d3.ScaleTime; y: d3.ScaleLinear | d3.ScaleSymLog; } export interface ResizeData { width: number; height: number; margin: StyleMargin; scales: Scales; } export interface DrawData { candles: api.FuturesChartCandle[]; zoomTransform: Pick; } export interface LineData { text: string; value: string; color: string; } export interface PriceLinesDatum { xValue?: Date; yValue?: number; title?: string; color?: string; opacity?: number; id?: string | number; isVisible?: boolean; isDraggable?: boolean; isCheckable?: boolean; isClosable?: boolean; isTitleVisible?: boolean | 'hover'; lineStyle?: 'solid' | 'dashed' | 'dotted'; customData?: T; pointerEventsNone?: boolean; } export interface ChartAxis { x: d3.Axis; yRight: d3.Axis; } export interface DraftPrices { buyDraftPrice: number | null; sellDraftPrice: number | null; stopBuyDraftPrice: number | null; stopSellDraftPrice: number | null; } export interface LiquidationLineSizeItem { price: number; amount: number; side: api.OrderSide; type: 'POSITION' | 'ORDER' | 'DRAFT_ORDER' | 'PREDICTIVE_LIQUIDATION'; } //# sourceMappingURL=types.d.ts.map