/** @jsxImportSource react */ import { Instance } from "../ui/Instance"; import { RenderingContext } from "../ui/RenderingContext"; import { NumberProp, StringProp } from "../ui/Prop"; import { TextualBoundedObject, TextualBoundedObjectConfig } from "./TextualBoundedObject"; export interface LineConfig extends TextualBoundedObjectConfig { /** * Index of the color in the default color palette. Setting this property will set * both fill and stroke on the object. Use `style` or a CSS class to remove stroke or fill * if they are not necessary. */ colorIndex?: NumberProp; /** A color used to paint the outline of the box. */ stroke?: StringProp; /** Base CSS class to be applied to the element. Defaults to `line`. */ baseClass?: string; } export declare class Line extends TextualBoundedObject { baseClass: string; colorIndex?: NumberProp; stroke?: StringProp; constructor(config?: LineConfig); declareData(...args: any[]): void; render(context: RenderingContext, instance: Instance & { colorIndex: number; }, key: string): import("react/jsx-runtime").JSX.Element; } //# sourceMappingURL=Line.d.ts.map