/** @jsxImportSource react */ import { BoundedObject, BoundedObjectConfig, BoundedObjectInstance } from "../svg/BoundedObject"; import { Rect } from "../svg/util/Rect"; import { RenderingContext, CxChild } from "../ui/RenderingContext"; import { Prop, NumberProp, StyleProp } from "../ui/Prop"; import type { ChartRenderingContext } from "./Chart"; export interface SwimlaneConfig extends BoundedObjectConfig { /** The `x` value binding or expression. */ x?: Prop; /** The `y` value binding or expression. */ y?: Prop; /** Represents a swimlane size. */ size?: NumberProp; /** Switch to vertical swimlanes. */ vertical?: boolean; /** The laneOffset property adjusts the positioning of lane elements, enhancing their alignment and readability. */ laneOffset?: NumberProp; /** Style object applied to the swimlanes. */ laneStyle?: StyleProp; /** Name of the x-axis. Default is 'x'. */ xAxis?: string; /** Name of the y-axis. Default is 'y'. */ yAxis?: string; } export interface SwimlaneInstance extends BoundedObjectInstance { xAxis?: any; yAxis?: any; bounds?: Rect; } export declare class Swimlane extends BoundedObject { xAxis: string; yAxis: string; anchors: string; baseClass: string; size: number; laneOffset: number; vertical: boolean; laneStyle: any; CSS: any; constructor(config?: SwimlaneConfig); init(): void; declareData(...args: any[]): void; explore(context: ChartRenderingContext, instance: SwimlaneInstance): void; prepare(context: RenderingContext, instance: SwimlaneInstance): void; calculateRect(instance: SwimlaneInstance): Rect; render(context: RenderingContext, instance: SwimlaneInstance, key: string): CxChild; } //# sourceMappingURL=Swimlane.d.ts.map