import { RemoteFileStorage } from './../../services/file-storage-service';
import { Router } from 'aurelia-router';
import { DialogService } from 'aurelia-dialog';
import { Config } from '../../config';
import { HttpClient } from 'aurelia-fetch-client';
import breeze from 'breeze-client';
export type PictureOrientation = "Landscape" | "Portrait";
export declare interface PictureType {
    url: string;
    previewUrl?: string;
    contentTypeId: number;
    isSelected: boolean;
    orientation: string;
}
export declare class PictureHelper {
    private router;
    private httpClient;
    private config;
    private dialogService;
    private fileStorageService;
    constructor(router: Router, httpClient: HttpClient, config: Config, dialogService: DialogService, fileStorageService: RemoteFileStorage.Service);
    detectionOrientation(reader: FileReader): boolean;
    rotatePicture(clockwise: boolean, pictureEntity: (PictureType & breeze.Entity)): Promise<void>;
    previewFile(fileEntity: {
        url: string;
        name?: string;
    }, isBlob?: boolean): void;
    getFileExtension(fileUrl: string): string;
    getFileType(fileUrl: string): string;
    downloadFile(fileEntity: {
        url: string;
        name?: string;
    }): Promise<void>;
    static getFileNameWithoutExtension(fileName: string): string;
    static getFileExtension(fileName: string): string;
}
