import { RootStore } from '../../../store'; import { OrderSide } from '../../../api'; import { ChartAxis, DraftPrices, PriceLinesDatum, ResizeData } from '../types'; import PriceLines from './PriceLines'; interface Params { axis: ChartAxis; getPseudoPosition: RootStore['trading']['getPseudoPosition']; calculateQuantity: RootStore['trading']['calculateQuantity']; onUpdateDrafts: (r: DraftPrices) => void; onClickDraftCheck: (r: DraftPrices & { newClientOrderId: string; }, side: OrderSide) => Promise; onUpdateItems: (d: PriceLinesDatum[]) => void; } export default class DraftPriceLines extends PriceLines { #private; constructor({ axis, getPseudoPosition, calculateQuantity, onUpdateDrafts, onClickDraftCheck, onUpdateItems, }: Params, resizeData: ResizeData); getDraftPrices: () => { buyDraftPrice: number | null; sellDraftPrice: number | null; stopBuyDraftPrice: number | null; stopSellDraftPrice: number | null; }; updateDraftLines: (data: { canCreateDraftLines?: boolean; lastPrice?: number; buyDraftPrice?: number | null; sellDraftPrice?: number | null; buyDraftSize?: number | null; sellDraftSize?: number | null; shouldShowBuyDraftPrice?: boolean; shouldShowSellDraftPrice?: boolean; stopBuyDraftPrice?: number | null; stopSellDraftPrice?: number | null; shouldShowStopBuyDraftPrice?: boolean; shouldShowStopSellDraftPrice?: boolean; }) => void; appendTo: (parent: Element, resizeData: ResizeData, { wrapperCSSStyle }?: { wrapperCSSStyle?: Partial | undefined; }) => void; } export {}; //# sourceMappingURL=DraftPriceLines.d.ts.map