import type { ResolvedAxisLabelConfig, ResolvedLineStyleConfig } from "../core/resolveConfig"; import type { ChartEngineExtrema, ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ChartPadding } from "../draw/line"; /** Connector style + the label font size (to estimate where the label edge is). */ export interface ResolvedConnector { line: ResolvedLineStyleConfig; fontSize: number; } /** * The connector config for one axis-label side — non-null only when it's an * `"extrema-edge"` label with its connector enabled. The line `color` defaults * to the label color (then `defaultColor`), so the connector matches its readout. */ export declare function labelConnector(cfg: ResolvedAxisLabelConfig | null, defaultColor: string): ResolvedConnector | null; /** * Skia connector lines for `"extrema-edge"` axis labels — a vertical line at the * extremum's x joining its edge value label to the marker dot on the data point. * Drawn in the canvas (so it dashes "like all lines"); the dot + label are RN * overlays positioned with the same projection, so the three pieces line up. The * line stops at the label edge, not the plot edge, so it never crosses the text. * * `top` / `bottom` are non-null only for a side in `"extrema-edge"` mode with its * connector enabled. */ export declare function ExtremaConnectorOverlay({ engine, padding, extremaTimeOffset, top, bottom, hideExtrema, suppressBottomWhenCoincident, }: { engine: ChartEngineLayout & Partial; padding: ChartPadding; extremaTimeOffset?: number; top: ResolvedConnector | null; bottom: ResolvedConnector | null; /** Hide extrema connectors while the chart is showing its loading shell. */ hideExtrema?: boolean; /** Drop the lower connector when both configured labels share one point. */ suppressBottomWhenCoincident?: boolean; }): import("react").JSX.Element | null; //# sourceMappingURL=ExtremaConnectorOverlay.d.ts.map