import { GraphCollection } from "../metadata/configurations";
export default class utils {
    static getContext: (canvas: HTMLCanvasElement) => CanvasRenderingContext2D | null;
    static createCanvas: () => HTMLCanvasElement;
    static findPos: (obj: HTMLElement) => {
        x: number;
        y: number;
    };
    static getContextPixelRatio(context: any): number;
    static cancelEvent: (e: any) => boolean;
    static addEvent: (element: Document, type: any, fn: any) => void;
    static removeEvent: (elem: Document, type: any, fn: any) => void;
    static pageX: (e: MouseEvent) => number;
    static pageY: (e: MouseEvent) => number;
    static dragGetX: (e: MouseEvent, context: any) => number;
    static dragGetY: (e: MouseEvent, context: any) => number;
    static log10: (x: number) => number;
    static LOG_SCALE: number;
    static LN_TEN: number;
    static findBestCollection: (collection: GraphCollection[], dateWindow: [number, number]) => GraphCollection | undefined;
}
