import Konva from 'konva';
import { Observable } from 'rxjs';
import { AuthenticationData } from '../authentication/model';
export declare class ImageUtil {
    static getProtectedImageUrl(url: string, authentication: AuthenticationData): Observable<string>;
    static createKonvaImage(url: string, authentication?: AuthenticationData): Observable<Konva.Image>;
    static createKonvaImageSizedByWidth(url: string, width: number, authentication?: AuthenticationData): Observable<Konva.Image>;
    static createKonvaImageSizedByHeight(url: string, height: number, authentication?: AuthenticationData): Observable<Konva.Image>;
    static calculateProportionalHeight(width: number, image: Konva.Image): number;
    static calculateProportionalWidth(height: number, image: Konva.Image): number;
}
