import { strokeDashTypes } from "@react-financial-charts/core";
import * as React from "react";
export interface CursorProps {
    readonly customX?: (props: CursorProps, moreProps: any) => number;
    readonly disableYCursor?: boolean;
    readonly snapX?: boolean;
    readonly strokeDasharray?: strokeDashTypes;
    readonly strokeStyle?: string;
    readonly useXCursorShape?: boolean;
    readonly xCursorShapeFillStyle?: string | ((currentItem: any) => string);
    readonly xCursorShapeStrokeStyle?: string | ((currentItem: any) => string);
    readonly xCursorShapeStrokeDasharray?: strokeDashTypes;
}
export declare class Cursor extends React.Component<CursorProps> {
    static defaultProps: {
        strokeStyle: string;
        strokeDasharray: string;
        snapX: boolean;
        customX: (props: CursorProps, moreProps: any) => any;
        disableYCursor: boolean;
        useXCursorShape: boolean;
        xCursorShapeStrokeStyle: string;
    };
    static contextType: React.Context<import("@react-financial-charts/core/lib/ChartCanvas").ChartCanvasContextType<number | Date>>;
    render(): JSX.Element;
    private getXCursorShapeStroke;
    private getXCursorShapeFill;
    private getXCursorShape;
    private getXYCursor;
    private readonly drawOnCanvas;
}
