export declare type Scaler = (from: HTMLCanvasElement, to: HTMLCanvasElement) => Promise;
export declare function debounce(func: any, wait: any, immediate?: boolean): () => void;
export declare function applyTransform(element: any, transformString: string): void;
export declare function downScaleImage(img: any, scale: any, scaler?: Scaler): Promise;
export declare function getLocale(text: any, locale: any): any;