import type { IPoint } from "../../../core/util/IPoint"; import type { Line } from "../../../core/render/Line"; import type { Graphics } from "../../../core/render/Graphics"; import { RectangleSeries, IRectangleSeriesSettings, IRectangleSeriesPrivate, IRectangleSeriesDataItem } from "./RectangleSeries"; import { ListTemplate } from "../../../core/util/List"; import { Label } from "../../../core/render/Label"; export interface IMeasureDataItem extends IRectangleSeriesDataItem { } export interface IMeasureSettings extends IRectangleSeriesSettings { /** * Text of the label, with placeholders `{value}` (price change), * `{percent}`, `{count}` (data items), `{intervalCount}` and * `{intervalUnit}`. */ labelText?: string; /** * Text added to the label when the measured range has volume, with * `{volume}` for its total. */ labelVolumeText?: string; } export interface IMeasurePrivate extends IRectangleSeriesPrivate { } /** * Measure drawing tool: a rectangle between two points that shows the price * change and the time between them. */ export declare class Measure extends RectangleSeries { static className: string; static classNames: Array; _settings: IMeasureSettings; _privateSettings: IMeasurePrivate; _dataItemSettings: IMeasureDataItem; protected _lines: Array; protected _labels: Array