import * as React from "react"; import { strokeDashTypes } from "@fishbot/chart-core"; export interface StraightLineProps { readonly lineDash?: strokeDashTypes | number[]; readonly lineWidth?: number; readonly strokeStyle?: string; readonly type?: "vertical" | "horizontal"; readonly yValue?: number; readonly xValue?: number; } export declare class StraightLine extends React.Component { static defaultProps: { lineWidth: number; lineDash: string; strokeStyle: string; type: string; }; render(): JSX.Element; private readonly drawOnCanvas; private readonly getLineCoordinates; }