import { fabric } from '../../../../shared/utils/fabricjs'; import { ILineOptions, ITextOptions } from '../interface'; import { AnyObject } from '../../../../shared/types'; export declare const defaultStyle: { evented: boolean; selectable: boolean; }; export declare const defaultBorderStyle: { evented: boolean; selectable: boolean; stroke: string; strokeWidth: number; strokeUniform: boolean; }; export declare const defaultLineStyle: { evented: boolean; selectable: boolean; stroke: string; strokeWidth: number; strokeDashArray: number[]; strokeUniform: boolean; }; export declare const defaultRectStyle: { evented: boolean; selectable: boolean; fill: string; stroke: string; strokeWidth: number; originX: string; originY: string; objectCaching: boolean; strokeUniform: boolean; }; export declare const defaultTextStyle: { evented: boolean; selectable: boolean; fontFamily: string; fontSize: number; fill: string; centeredRotation: boolean; originX: string; originY: string; lineHeight: number; objectCaching: boolean; strokeUniform: boolean; }; export declare function drawLine(points: number[], style: Partial): fabric.Line; export declare function drawText([x, y]: [x: number, y: number], style: ITextOptions): fabric.Text; export declare function drawArrow([x, y1, y2]: [x: number, y1: number, y2: number], style: ITextOptions | any, type?: string): fabric.Group; export declare function drawTextGroup(rectStyle: Partial, fontStyle: Partial, groupStyle: Partial, showRect?: boolean): fabric.Group; export declare function drawPoint(type: string | undefined, style: any): fabric.Object; export declare function drawTextAndIconGroup(title: string, item: AnyObject, option: { text: AnyObject; icon: AnyObject; }, direction?: string): { text: fabric.Text; icon: fabric.Object; };