import { Point } from 'gd-common';
export declare class Tools {
    Rotate(point: Point, center: Point, angle: number): Point;
    Normal(point: Point, start: Point, end: Point): Point;
    DistanceTo(point: Point, start: Point, end: Point): number;
    Intersect_OLD(a: Point, b: Point, c: Point, d: Point): boolean;
    Intersect(a: Point, b: Point, c: Point, d: Point): boolean;
    onSegment(p: Point, q: Point, r: Point): boolean;
    orientation(p: Point, q: Point, r: Point): number;
    doIntersect(p1: Point, q1: Point, p2: Point, q2: Point): boolean;
    Intersection(p1: Point, p2: Point, p3: Point, p4: Point): Point;
    PointSide(point: Point, start: Point, end: Point): string;
    RoundRect(ctx: any, x: any, y: any, width: any, height: any, radius: any, fill: any, stroke: any): void;
    MeasureText(text: string, font: string, style: string): {
        width: number;
        height: number;
    };
}
