/** @jsxImportSource react */ import { BoundedObject, BoundedObjectConfig, BoundedObjectInstance } from "../svg/BoundedObject"; import { Rect } from "../svg/util/Rect"; import { RenderingContext } from "../ui/RenderingContext"; import { NumberProp, BooleanProp, StringProp, StyleProp, Prop } from "../ui/Prop"; export interface RangeMarkerConfig extends BoundedObjectConfig { /** The `x` value binding or expression. */ x?: Prop; /** The `y` value binding or expression. */ y?: Prop; /** The shape of marker, Could be `min`, `max`, `line`. Default to `line`. */ shape?: StringProp; /** Switch to vertical mode. */ vertical?: BooleanProp; /** Size of the range marker. */ size?: NumberProp; /** The laneOffset property adjusts the positioning of lane elements, enhancing their alignment and readability. */ laneOffset?: NumberProp; /** Style object applied to the range marker. */ lineStyle?: StyleProp; /** Class object applied to the range marker. */ lineClass?: StringProp; /** Size of vertical or horizontal caps. */ capSize?: NumberProp; /** Inflate the range marker. */ inflate?: NumberProp; /** Set to `true` to allow the range marker to affect axis bounds. */ affectsAxes?: boolean; /** * Name of the horizontal axis. The value should match one of the horizontal axes set * in the `axes` configuration of the parent `Chart` component. Default value is `x`. */ xAxis?: string; /** * Name of the vertical axis. The value should match one of the vertical axes set * in the `axes` configuration if the parent `Chart` component. Default value is `y`. */ yAxis?: string; } export interface RangeMarkerInstance extends BoundedObjectInstance { axes: Record; xAxis: any; yAxis: any; } export declare class RangeMarker extends BoundedObject { baseClass: string; xAxis: string; yAxis: string; shape: string; vertical: boolean; size: number; laneOffset: number; capSize: number; inflate: number; affectsAxes: boolean; lineStyle: any; constructor(config: RangeMarkerConfig); declareData(...args: any[]): void; init(): void; prepareData(context: RenderingContext, instance: RangeMarkerInstance): void; explore(context: RenderingContext, instance: RangeMarkerInstance): void; calculateBounds(context: RenderingContext, instance: RangeMarkerInstance): Rect; prepare(context: RenderingContext, instance: RangeMarkerInstance): void; render(context: RenderingContext, instance: RangeMarkerInstance, key: string): React.ReactNode; } //# sourceMappingURL=RangeMarker.d.ts.map