import { IPoint } from "../../common-types"; export declare function dotProduct(a: IPoint, b: IPoint): number; export declare function tripleProduct(a: IPoint, b: IPoint, c: IPoint): IPoint; export declare function isPoint(v: IPoint | number): v is IPoint; export declare function ensurePoint(p: IPoint, fallback?: IPoint): IPoint; export declare function perpendicular(p: IPoint): IPoint; export declare function negatePt(p: IPoint): IPoint; export declare function normalizePt(p: IPoint): IPoint; export declare function addPts(a: IPoint, b: IPoint): IPoint; export declare function distanceSq(a: IPoint, b: IPoint): number; export declare function distance(a: IPoint, b: IPoint): number; export declare function scalePt(p: IPoint, s: number): IPoint; export declare function lerpPts(a: IPoint, b: IPoint, t: number): IPoint; export declare function lengthSq(p: IPoint): number; export declare function lengthOfPt(p: IPoint): number; export declare function multiplyPts(a: IPoint, b: IPoint | number): IPoint; export declare function dividePts(a: IPoint, b: IPoint | number): IPoint; export declare function subPts(a: IPoint, b: IPoint): IPoint; export declare function eqPts(a: IPoint, b: IPoint): boolean; export declare function rotateDeg(p: IPoint, ang: number): IPoint; export declare function rotateRad(p: IPoint, ang: number): IPoint; export declare function toDegrees(rad: number): number; export declare function toRadians(deg: number): number;