@rioaxyz/sonrchart 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { RefObject, ReactNode, CSSProperties, ButtonHTMLAttributes } from 'react';
3
- import { Point, Nullable, DeepPartial, OverlayStyle, OverlayMode, Chart, KLineData, Styles, PeriodType, OverlayCreateFiguresCallbackParams, OverlayFigure, Coordinate } from 'klinecharts';
3
+ import { Point, Nullable, DeepPartial, OverlayStyle, OverlayMode, KLineData, Chart, Styles, PeriodType, OverlayCreateFiguresCallbackParams, OverlayFigure, Coordinate } from 'klinecharts';
4
4
 
5
5
  /** One saved overlay in a drawing template — the canonical serialized shape of
6
6
  * a user drawing, shared by ChartState.drawings and SonrChart's snapshot/
@@ -216,6 +216,17 @@ interface PatternMarker {
216
216
  label?: string;
217
217
  color?: string;
218
218
  }
219
+ /** Halt badge shown at the top of the price pane while the symbol is
220
+ * trading-halted (issue #78). `halted={true}` shows the default blue "Halt"
221
+ * pill; pass an object to customize it. */
222
+ interface HaltBadge {
223
+ /** Badge text. Default "Halt". */
224
+ label?: string;
225
+ /** Pill background color. Default "#2196f3". */
226
+ color?: string;
227
+ /** Badge text color. Default "#ffffff". */
228
+ textColor?: string;
229
+ }
219
230
  /** Session background tinting (issue #10). `true` uses the default palette;
220
231
  * pass an object to override the pre/after-hours tints (regular hours are
221
232
  * untinted). Colors should be low-alpha so candles read through. */
@@ -255,6 +266,10 @@ interface TextData extends Partial<TextStyle> {
255
266
  }
256
267
  declare function registerTextOverlay(): void;
257
268
 
269
+ type VolumeTrend = "increasing" | "decreasing" | "mixed";
270
+ declare const DEFAULT_VOLUME_TREND_BARS = 3;
271
+ declare function volumeTrend(list: KLineData[], endIndex: number, bars?: number): VolumeTrend | null;
272
+
258
273
  interface SonrChartProps {
259
274
  symbol: string;
260
275
  interval?: Interval;
@@ -276,6 +291,9 @@ interface SonrChartProps {
276
291
  watermark?: boolean | Partial<WatermarkOptions>;
277
292
  /** Pattern-context markers on the price pane. (#5) */
278
293
  patterns?: PatternMarker[];
294
+ /** Trading-halt badge (#78): `true` pins a blue "Halt" pill to the top of
295
+ * the price pane against the y-axis; pass a HaltBadge to customize. */
296
+ halted?: boolean | HaltBadge;
279
297
  /** Static reference lines (entry / stop / target). */
280
298
  priceLines?: PriceLine[];
281
299
  /** Draggable order/position lines. (#19) */
@@ -466,6 +484,19 @@ interface SonrChartHandle {
466
484
  * the crosshair is active, else the latest bar (updates on each streamed
467
485
  * bar). Emits once immediately. Returns unsubscribe. (#45) */
468
486
  subscribeHeaderBar(cb: (current: KLineData | null, prev: KLineData | null) => void): () => void;
487
+ /** Subscribe to the volume trend over the bars ending at the header bar
488
+ * (hovered bar while the crosshair is active, else the latest bar):
489
+ * "increasing" | "decreasing" | "mixed", or null until enough bars are
490
+ * loaded. Omit `bars` to track the chart-level lookback (re-emits when the
491
+ * setting changes); pass a number to pin this subscription's own count.
492
+ * Emits once immediately. Returns unsubscribe. (#79) */
493
+ subscribeVolumeTrend(cb: (trend: VolumeTrend | null) => void, bars?: number): () => void;
494
+ /** Chart-level volume-trend lookback (#79): the bar count used by
495
+ * subscriptions that don't pin their own. Clamped to ≥ 1; setting it
496
+ * re-emits the trend to those subscribers. */
497
+ getVolumeTrendBars(): number;
498
+ setVolumeTrendBars(bars: number): void;
499
+ subscribeVolumeTrendBars(cb: (bars: number) => void): () => void;
469
500
  }
470
501
  declare const SonrChart: react.ForwardRefExoticComponent<SonrChartProps & react.RefAttributes<SonrChartHandle>>;
471
502
 
@@ -578,6 +609,11 @@ interface Labels {
578
609
  zoomIn: string;
579
610
  fitContent: string;
580
611
  goToRealtime: string;
612
+ /** Volume-trend header row (#79): label + the three trend values. */
613
+ volumeTrend: string;
614
+ volumeTrendIncreasing: string;
615
+ volumeTrendDecreasing: string;
616
+ volumeTrendMixed: string;
581
617
  /** Market-status badge (#45). */
582
618
  marketPre: string;
583
619
  marketOpen: string;
@@ -800,6 +836,10 @@ interface SonrChartShellProps {
800
836
  source?: string;
801
837
  /** Instrument venue label for the Symbol-info dialog (e.g. "Alpaca"). */
802
838
  exchange?: string;
839
+ /** Volume-trend row in the header (#79): `true` (default) shows it with the
840
+ * chart-level lookback (3 bars unless changed in the settings dialog), a
841
+ * number sets that lookback, `false` hides the row. */
842
+ volumeTrend?: boolean | number;
803
843
  onIntervalChange?: (interval: Interval) => void;
804
844
  onSymbolChange?: (symbol: string) => void;
805
845
  /** Brand mark content (host logo), shown in a chart corner. Omit for none. */
@@ -897,10 +937,15 @@ interface ChartHeaderProps {
897
937
  source?: string;
898
938
  /** Precision for O/H/L/C/change (defaults to 2). */
899
939
  pricePrecision?: number;
940
+ /** Volume-trend row (#79): `true` shows it with the chart-level lookback
941
+ * (default 3 bars, editable in the settings dialog); a number also sets
942
+ * that lookback. Shown on a second line below the symbol/OHLC row; tracks
943
+ * the same bar as the OHLC (crosshair, falling back to the latest bar). */
944
+ volumeTrend?: boolean | number;
900
945
  labels?: Partial<Labels>;
901
946
  className?: string;
902
947
  }
903
- declare function ChartHeader({ chartRef, symbol, interval, source, pricePrecision, labels, className }: ChartHeaderProps): react.JSX.Element;
948
+ declare function ChartHeader({ chartRef, symbol, interval, source, pricePrecision, volumeTrend, labels, className }: ChartHeaderProps): react.JSX.Element;
904
949
 
905
950
  interface CandleStyleOption {
906
951
  style: CandleStyle;
@@ -1099,6 +1144,7 @@ declare const SESSION_INDICATOR = "SONR_SESSION";
1099
1144
  declare const PATTERN_INDICATOR = "SONR_PATTERNS";
1100
1145
  declare const WATERMARK_INDICATOR = "SONR_WATERMARK";
1101
1146
  declare const SERIES_INDICATOR = "SONR_SERIES";
1147
+ declare const HALT_INDICATOR = "SONR_HALT";
1102
1148
  declare const VWAP_INDICATOR = "VWAP";
1103
1149
  /** Background watermark content (the underlaid ticker + interval). */
1104
1150
  interface WatermarkData {
@@ -1106,6 +1152,16 @@ interface WatermarkData {
1106
1152
  subtitle?: string;
1107
1153
  color: string;
1108
1154
  }
1155
+ /** Resolved halt-badge config the HALT_INDICATOR paints (#78). */
1156
+ interface HaltBadgeData {
1157
+ label: string;
1158
+ color: string;
1159
+ textColor: string;
1160
+ }
1161
+ declare const DEFAULT_HALT_BADGE: HaltBadgeData;
1162
+ /** Coerce the `halted` prop (boolean | partial badge) into a full config, or
1163
+ * null when the badge is off. */
1164
+ declare function normalizeHalt(prop: boolean | HaltBadge | undefined): HaltBadgeData | null;
1109
1165
  interface SessionColors {
1110
1166
  premarket: string;
1111
1167
  afterhours: string;
@@ -1113,4 +1169,4 @@ interface SessionColors {
1113
1169
  declare const DEFAULT_SESSION_COLORS: SessionColors;
1114
1170
  declare function registerSonrIndicators(): void;
1115
1171
 
1116
- export { BRUSH_OVERLAY, type Bar, type BrandCorner, BrandMark, type BrandMarkProps, type BrushStyle, type BrushTool, CandleMenu, type CandleStyle, type CandleStyleOption, ChartHeader, type ChartHeaderProps, type ChartState, ChartToolbar, type CompareSpec, ConfirmDialog, DEFAULT_CANDLE_STYLES, DEFAULT_DRAWING_TOOLS, DEFAULT_INDICATOR_OPTIONS, DEFAULT_LABELS, DEFAULT_RANGES, DEFAULT_RESOLUTIONS, DEFAULT_SESSION_COLORS, DEFAULT_TIMEZONE, DEFAULT_TIMEZONES, type DataSource, DataWindow, type DrawingRow, type DrawingSnapshot, type DrawingSnapshotItem, DrawingTemplateStore, type DrawingTool, type DrawingToolOption, DrawingToolbar, EXTENDED_DRAWING_TOOLS, EXTENDED_OVERLAYS, FIB_EXTENSION_LEVELS, GoToDateDialog, IndicatorMenu, type IndicatorOption, type IndicatorRow, type IndicatorSpec, type Interval, type Labels, type Magnet, type MarketPhase, MarketStatus, type MarketStatusProps, NavControlBar, ObjectTree, type OrderLine, PALETTE, PATTERN_INDICATOR, type PatternMarker, type PriceLabels, type PriceLine, type PriceScale, PriceScaleMenu, type QuoteFormat, type RangeOption, type ResolutionOption, SERIES_INDICATOR, SESSION_INDICATOR, SHAPE_ELLIPSE, SHAPE_OVERLAYS, SHAPE_PRICE_RANGE, SHAPE_RECTANGLE, SHAPE_RISK_REWARD, SHAPE_TRIANGLE, SONR_TRADE_BOX, SaveLoadDialog, type SessionTint, SettingsModal, type ShortcutAction, SonrChart, type SonrChartHandle, type SonrChartProps, SonrChartShell, type SonrChartShellProps, type SymbolInfo, SymbolInfoDialog, SymbolSearch, type SymbolSearchResult, TEXT_OVERLAY, type TextData, type Theme, TimeframeBar, TimezoneMenu, type TimezoneOption, ToolbarButton, UNIT_MS, USER_DRAWING_GROUP, VWAP_INDICATOR, WATERMARK_INDICATOR, type WatermarkData, type WatermarkOptions, arrowHeadPoints, dateRangeLabel, downloadSnapshot, drawingLabel, ensureDefaultStyles, fibSequence, formatWithUnit, getCSSCustomProperty, getRegisteredTheme, getTimezoneApi, humanDuration, isChartState, isEditableTarget, marketStatus, mergeLabels, parseLocalDateTime, parseResolution, priceRangeLabel, registerExtendedDrawings, registerShapeOverlays, registerSonrIndicators, registerTextOverlay, registerTheme, registerTradeReview, resolutionLabel, resolutionMs, resolveShortcut, resolveThemeStyles, riskRewardStats, setCSSCustomProperty, themeStyles, timezoneLabel, toHeikinAshi, tradeBoxFigures };
1172
+ export { BRUSH_OVERLAY, type Bar, type BrandCorner, BrandMark, type BrandMarkProps, type BrushStyle, type BrushTool, CandleMenu, type CandleStyle, type CandleStyleOption, ChartHeader, type ChartHeaderProps, type ChartState, ChartToolbar, type CompareSpec, ConfirmDialog, DEFAULT_CANDLE_STYLES, DEFAULT_DRAWING_TOOLS, DEFAULT_HALT_BADGE, DEFAULT_INDICATOR_OPTIONS, DEFAULT_LABELS, DEFAULT_RANGES, DEFAULT_RESOLUTIONS, DEFAULT_SESSION_COLORS, DEFAULT_TIMEZONE, DEFAULT_TIMEZONES, DEFAULT_VOLUME_TREND_BARS, type DataSource, DataWindow, type DrawingRow, type DrawingSnapshot, type DrawingSnapshotItem, DrawingTemplateStore, type DrawingTool, type DrawingToolOption, DrawingToolbar, EXTENDED_DRAWING_TOOLS, EXTENDED_OVERLAYS, FIB_EXTENSION_LEVELS, GoToDateDialog, HALT_INDICATOR, type HaltBadge, type HaltBadgeData, IndicatorMenu, type IndicatorOption, type IndicatorRow, type IndicatorSpec, type Interval, type Labels, type Magnet, type MarketPhase, MarketStatus, type MarketStatusProps, NavControlBar, ObjectTree, type OrderLine, PALETTE, PATTERN_INDICATOR, type PatternMarker, type PriceLabels, type PriceLine, type PriceScale, PriceScaleMenu, type QuoteFormat, type RangeOption, type ResolutionOption, SERIES_INDICATOR, SESSION_INDICATOR, SHAPE_ELLIPSE, SHAPE_OVERLAYS, SHAPE_PRICE_RANGE, SHAPE_RECTANGLE, SHAPE_RISK_REWARD, SHAPE_TRIANGLE, SONR_TRADE_BOX, SaveLoadDialog, type SessionTint, SettingsModal, type ShortcutAction, SonrChart, type SonrChartHandle, type SonrChartProps, SonrChartShell, type SonrChartShellProps, type SymbolInfo, SymbolInfoDialog, SymbolSearch, type SymbolSearchResult, TEXT_OVERLAY, type TextData, type Theme, TimeframeBar, TimezoneMenu, type TimezoneOption, ToolbarButton, UNIT_MS, USER_DRAWING_GROUP, VWAP_INDICATOR, type VolumeTrend, WATERMARK_INDICATOR, type WatermarkData, type WatermarkOptions, arrowHeadPoints, dateRangeLabel, downloadSnapshot, drawingLabel, ensureDefaultStyles, fibSequence, formatWithUnit, getCSSCustomProperty, getRegisteredTheme, getTimezoneApi, humanDuration, isChartState, isEditableTarget, marketStatus, mergeLabels, normalizeHalt, parseLocalDateTime, parseResolution, priceRangeLabel, registerExtendedDrawings, registerShapeOverlays, registerSonrIndicators, registerTextOverlay, registerTheme, registerTradeReview, resolutionLabel, resolutionMs, resolveShortcut, resolveThemeStyles, riskRewardStats, setCSSCustomProperty, themeStyles, timezoneLabel, toHeikinAshi, tradeBoxFigures, volumeTrend };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { RefObject, ReactNode, CSSProperties, ButtonHTMLAttributes } from 'react';
3
- import { Point, Nullable, DeepPartial, OverlayStyle, OverlayMode, Chart, KLineData, Styles, PeriodType, OverlayCreateFiguresCallbackParams, OverlayFigure, Coordinate } from 'klinecharts';
3
+ import { Point, Nullable, DeepPartial, OverlayStyle, OverlayMode, KLineData, Chart, Styles, PeriodType, OverlayCreateFiguresCallbackParams, OverlayFigure, Coordinate } from 'klinecharts';
4
4
 
5
5
  /** One saved overlay in a drawing template — the canonical serialized shape of
6
6
  * a user drawing, shared by ChartState.drawings and SonrChart's snapshot/
@@ -216,6 +216,17 @@ interface PatternMarker {
216
216
  label?: string;
217
217
  color?: string;
218
218
  }
219
+ /** Halt badge shown at the top of the price pane while the symbol is
220
+ * trading-halted (issue #78). `halted={true}` shows the default blue "Halt"
221
+ * pill; pass an object to customize it. */
222
+ interface HaltBadge {
223
+ /** Badge text. Default "Halt". */
224
+ label?: string;
225
+ /** Pill background color. Default "#2196f3". */
226
+ color?: string;
227
+ /** Badge text color. Default "#ffffff". */
228
+ textColor?: string;
229
+ }
219
230
  /** Session background tinting (issue #10). `true` uses the default palette;
220
231
  * pass an object to override the pre/after-hours tints (regular hours are
221
232
  * untinted). Colors should be low-alpha so candles read through. */
@@ -255,6 +266,10 @@ interface TextData extends Partial<TextStyle> {
255
266
  }
256
267
  declare function registerTextOverlay(): void;
257
268
 
269
+ type VolumeTrend = "increasing" | "decreasing" | "mixed";
270
+ declare const DEFAULT_VOLUME_TREND_BARS = 3;
271
+ declare function volumeTrend(list: KLineData[], endIndex: number, bars?: number): VolumeTrend | null;
272
+
258
273
  interface SonrChartProps {
259
274
  symbol: string;
260
275
  interval?: Interval;
@@ -276,6 +291,9 @@ interface SonrChartProps {
276
291
  watermark?: boolean | Partial<WatermarkOptions>;
277
292
  /** Pattern-context markers on the price pane. (#5) */
278
293
  patterns?: PatternMarker[];
294
+ /** Trading-halt badge (#78): `true` pins a blue "Halt" pill to the top of
295
+ * the price pane against the y-axis; pass a HaltBadge to customize. */
296
+ halted?: boolean | HaltBadge;
279
297
  /** Static reference lines (entry / stop / target). */
280
298
  priceLines?: PriceLine[];
281
299
  /** Draggable order/position lines. (#19) */
@@ -466,6 +484,19 @@ interface SonrChartHandle {
466
484
  * the crosshair is active, else the latest bar (updates on each streamed
467
485
  * bar). Emits once immediately. Returns unsubscribe. (#45) */
468
486
  subscribeHeaderBar(cb: (current: KLineData | null, prev: KLineData | null) => void): () => void;
487
+ /** Subscribe to the volume trend over the bars ending at the header bar
488
+ * (hovered bar while the crosshair is active, else the latest bar):
489
+ * "increasing" | "decreasing" | "mixed", or null until enough bars are
490
+ * loaded. Omit `bars` to track the chart-level lookback (re-emits when the
491
+ * setting changes); pass a number to pin this subscription's own count.
492
+ * Emits once immediately. Returns unsubscribe. (#79) */
493
+ subscribeVolumeTrend(cb: (trend: VolumeTrend | null) => void, bars?: number): () => void;
494
+ /** Chart-level volume-trend lookback (#79): the bar count used by
495
+ * subscriptions that don't pin their own. Clamped to ≥ 1; setting it
496
+ * re-emits the trend to those subscribers. */
497
+ getVolumeTrendBars(): number;
498
+ setVolumeTrendBars(bars: number): void;
499
+ subscribeVolumeTrendBars(cb: (bars: number) => void): () => void;
469
500
  }
470
501
  declare const SonrChart: react.ForwardRefExoticComponent<SonrChartProps & react.RefAttributes<SonrChartHandle>>;
471
502
 
@@ -578,6 +609,11 @@ interface Labels {
578
609
  zoomIn: string;
579
610
  fitContent: string;
580
611
  goToRealtime: string;
612
+ /** Volume-trend header row (#79): label + the three trend values. */
613
+ volumeTrend: string;
614
+ volumeTrendIncreasing: string;
615
+ volumeTrendDecreasing: string;
616
+ volumeTrendMixed: string;
581
617
  /** Market-status badge (#45). */
582
618
  marketPre: string;
583
619
  marketOpen: string;
@@ -800,6 +836,10 @@ interface SonrChartShellProps {
800
836
  source?: string;
801
837
  /** Instrument venue label for the Symbol-info dialog (e.g. "Alpaca"). */
802
838
  exchange?: string;
839
+ /** Volume-trend row in the header (#79): `true` (default) shows it with the
840
+ * chart-level lookback (3 bars unless changed in the settings dialog), a
841
+ * number sets that lookback, `false` hides the row. */
842
+ volumeTrend?: boolean | number;
803
843
  onIntervalChange?: (interval: Interval) => void;
804
844
  onSymbolChange?: (symbol: string) => void;
805
845
  /** Brand mark content (host logo), shown in a chart corner. Omit for none. */
@@ -897,10 +937,15 @@ interface ChartHeaderProps {
897
937
  source?: string;
898
938
  /** Precision for O/H/L/C/change (defaults to 2). */
899
939
  pricePrecision?: number;
940
+ /** Volume-trend row (#79): `true` shows it with the chart-level lookback
941
+ * (default 3 bars, editable in the settings dialog); a number also sets
942
+ * that lookback. Shown on a second line below the symbol/OHLC row; tracks
943
+ * the same bar as the OHLC (crosshair, falling back to the latest bar). */
944
+ volumeTrend?: boolean | number;
900
945
  labels?: Partial<Labels>;
901
946
  className?: string;
902
947
  }
903
- declare function ChartHeader({ chartRef, symbol, interval, source, pricePrecision, labels, className }: ChartHeaderProps): react.JSX.Element;
948
+ declare function ChartHeader({ chartRef, symbol, interval, source, pricePrecision, volumeTrend, labels, className }: ChartHeaderProps): react.JSX.Element;
904
949
 
905
950
  interface CandleStyleOption {
906
951
  style: CandleStyle;
@@ -1099,6 +1144,7 @@ declare const SESSION_INDICATOR = "SONR_SESSION";
1099
1144
  declare const PATTERN_INDICATOR = "SONR_PATTERNS";
1100
1145
  declare const WATERMARK_INDICATOR = "SONR_WATERMARK";
1101
1146
  declare const SERIES_INDICATOR = "SONR_SERIES";
1147
+ declare const HALT_INDICATOR = "SONR_HALT";
1102
1148
  declare const VWAP_INDICATOR = "VWAP";
1103
1149
  /** Background watermark content (the underlaid ticker + interval). */
1104
1150
  interface WatermarkData {
@@ -1106,6 +1152,16 @@ interface WatermarkData {
1106
1152
  subtitle?: string;
1107
1153
  color: string;
1108
1154
  }
1155
+ /** Resolved halt-badge config the HALT_INDICATOR paints (#78). */
1156
+ interface HaltBadgeData {
1157
+ label: string;
1158
+ color: string;
1159
+ textColor: string;
1160
+ }
1161
+ declare const DEFAULT_HALT_BADGE: HaltBadgeData;
1162
+ /** Coerce the `halted` prop (boolean | partial badge) into a full config, or
1163
+ * null when the badge is off. */
1164
+ declare function normalizeHalt(prop: boolean | HaltBadge | undefined): HaltBadgeData | null;
1109
1165
  interface SessionColors {
1110
1166
  premarket: string;
1111
1167
  afterhours: string;
@@ -1113,4 +1169,4 @@ interface SessionColors {
1113
1169
  declare const DEFAULT_SESSION_COLORS: SessionColors;
1114
1170
  declare function registerSonrIndicators(): void;
1115
1171
 
1116
- export { BRUSH_OVERLAY, type Bar, type BrandCorner, BrandMark, type BrandMarkProps, type BrushStyle, type BrushTool, CandleMenu, type CandleStyle, type CandleStyleOption, ChartHeader, type ChartHeaderProps, type ChartState, ChartToolbar, type CompareSpec, ConfirmDialog, DEFAULT_CANDLE_STYLES, DEFAULT_DRAWING_TOOLS, DEFAULT_INDICATOR_OPTIONS, DEFAULT_LABELS, DEFAULT_RANGES, DEFAULT_RESOLUTIONS, DEFAULT_SESSION_COLORS, DEFAULT_TIMEZONE, DEFAULT_TIMEZONES, type DataSource, DataWindow, type DrawingRow, type DrawingSnapshot, type DrawingSnapshotItem, DrawingTemplateStore, type DrawingTool, type DrawingToolOption, DrawingToolbar, EXTENDED_DRAWING_TOOLS, EXTENDED_OVERLAYS, FIB_EXTENSION_LEVELS, GoToDateDialog, IndicatorMenu, type IndicatorOption, type IndicatorRow, type IndicatorSpec, type Interval, type Labels, type Magnet, type MarketPhase, MarketStatus, type MarketStatusProps, NavControlBar, ObjectTree, type OrderLine, PALETTE, PATTERN_INDICATOR, type PatternMarker, type PriceLabels, type PriceLine, type PriceScale, PriceScaleMenu, type QuoteFormat, type RangeOption, type ResolutionOption, SERIES_INDICATOR, SESSION_INDICATOR, SHAPE_ELLIPSE, SHAPE_OVERLAYS, SHAPE_PRICE_RANGE, SHAPE_RECTANGLE, SHAPE_RISK_REWARD, SHAPE_TRIANGLE, SONR_TRADE_BOX, SaveLoadDialog, type SessionTint, SettingsModal, type ShortcutAction, SonrChart, type SonrChartHandle, type SonrChartProps, SonrChartShell, type SonrChartShellProps, type SymbolInfo, SymbolInfoDialog, SymbolSearch, type SymbolSearchResult, TEXT_OVERLAY, type TextData, type Theme, TimeframeBar, TimezoneMenu, type TimezoneOption, ToolbarButton, UNIT_MS, USER_DRAWING_GROUP, VWAP_INDICATOR, WATERMARK_INDICATOR, type WatermarkData, type WatermarkOptions, arrowHeadPoints, dateRangeLabel, downloadSnapshot, drawingLabel, ensureDefaultStyles, fibSequence, formatWithUnit, getCSSCustomProperty, getRegisteredTheme, getTimezoneApi, humanDuration, isChartState, isEditableTarget, marketStatus, mergeLabels, parseLocalDateTime, parseResolution, priceRangeLabel, registerExtendedDrawings, registerShapeOverlays, registerSonrIndicators, registerTextOverlay, registerTheme, registerTradeReview, resolutionLabel, resolutionMs, resolveShortcut, resolveThemeStyles, riskRewardStats, setCSSCustomProperty, themeStyles, timezoneLabel, toHeikinAshi, tradeBoxFigures };
1172
+ export { BRUSH_OVERLAY, type Bar, type BrandCorner, BrandMark, type BrandMarkProps, type BrushStyle, type BrushTool, CandleMenu, type CandleStyle, type CandleStyleOption, ChartHeader, type ChartHeaderProps, type ChartState, ChartToolbar, type CompareSpec, ConfirmDialog, DEFAULT_CANDLE_STYLES, DEFAULT_DRAWING_TOOLS, DEFAULT_HALT_BADGE, DEFAULT_INDICATOR_OPTIONS, DEFAULT_LABELS, DEFAULT_RANGES, DEFAULT_RESOLUTIONS, DEFAULT_SESSION_COLORS, DEFAULT_TIMEZONE, DEFAULT_TIMEZONES, DEFAULT_VOLUME_TREND_BARS, type DataSource, DataWindow, type DrawingRow, type DrawingSnapshot, type DrawingSnapshotItem, DrawingTemplateStore, type DrawingTool, type DrawingToolOption, DrawingToolbar, EXTENDED_DRAWING_TOOLS, EXTENDED_OVERLAYS, FIB_EXTENSION_LEVELS, GoToDateDialog, HALT_INDICATOR, type HaltBadge, type HaltBadgeData, IndicatorMenu, type IndicatorOption, type IndicatorRow, type IndicatorSpec, type Interval, type Labels, type Magnet, type MarketPhase, MarketStatus, type MarketStatusProps, NavControlBar, ObjectTree, type OrderLine, PALETTE, PATTERN_INDICATOR, type PatternMarker, type PriceLabels, type PriceLine, type PriceScale, PriceScaleMenu, type QuoteFormat, type RangeOption, type ResolutionOption, SERIES_INDICATOR, SESSION_INDICATOR, SHAPE_ELLIPSE, SHAPE_OVERLAYS, SHAPE_PRICE_RANGE, SHAPE_RECTANGLE, SHAPE_RISK_REWARD, SHAPE_TRIANGLE, SONR_TRADE_BOX, SaveLoadDialog, type SessionTint, SettingsModal, type ShortcutAction, SonrChart, type SonrChartHandle, type SonrChartProps, SonrChartShell, type SonrChartShellProps, type SymbolInfo, SymbolInfoDialog, SymbolSearch, type SymbolSearchResult, TEXT_OVERLAY, type TextData, type Theme, TimeframeBar, TimezoneMenu, type TimezoneOption, ToolbarButton, UNIT_MS, USER_DRAWING_GROUP, VWAP_INDICATOR, type VolumeTrend, WATERMARK_INDICATOR, type WatermarkData, type WatermarkOptions, arrowHeadPoints, dateRangeLabel, downloadSnapshot, drawingLabel, ensureDefaultStyles, fibSequence, formatWithUnit, getCSSCustomProperty, getRegisteredTheme, getTimezoneApi, humanDuration, isChartState, isEditableTarget, marketStatus, mergeLabels, normalizeHalt, parseLocalDateTime, parseResolution, priceRangeLabel, registerExtendedDrawings, registerShapeOverlays, registerSonrIndicators, registerTextOverlay, registerTheme, registerTradeReview, resolutionLabel, resolutionMs, resolveShortcut, resolveThemeStyles, riskRewardStats, setCSSCustomProperty, themeStyles, timezoneLabel, toHeikinAshi, tradeBoxFigures, volumeTrend };