import { HttpClient } from '@angular/common/http';
import { ElementRef, Injector } from '@angular/core';
import { ResponseResult } from '../../../models/response-result';
import { BaseService } from '../../../services/base.service';
import { ModuleConfigService } from '../../../services/module-config.service';
import { CopyFileDto } from '../models/copy-file-dto';
import { FolderCreateAndSetPermissionDTO } from '../models/folder-create-and-set-permission-dto';
import { GenerateLinkDownloadDTO } from '../models/generate-link-download-dto';
import { MoveFileDTO } from '../models/move-file-dto';
import { ShareFileDTO } from '../models/share-file-dto';
import { ShareFolderDTO } from '../models/share-folder-dto';
import { ServiceRequestModel } from '../models/service-request-model';
export declare class FileExplorerNewService extends BaseService {
    private _moduleConfigService;
    readonly RETRY_COUNT: number;
    readonly REPLAY_COUNT: number;
    _documentServerUrl: any;
    readonly _serviceUri: any;
    private _authenService;
    private _commonSerivce;
    private _moduleConfig;
    constructor(http: HttpClient, injector: Injector, _moduleConfigService: ModuleConfigService);
    getMyFiles(): Promise<ResponseResult>;
    getByFolderId(folderId: string): Promise<ResponseResult>;
    getMyDrive(folderId: string): Promise<ResponseResult>;
    getMyShare(userId: number): Promise<ResponseResult>;
    getMyShareToOther(ownerId: number): Promise<ResponseResult>;
    getFolderTree(folderId: string): Promise<ResponseResult>;
    copyFile(copyFileDto: CopyFileDto): Promise<ResponseResult>;
    createNewFolder(folder: FolderCreateAndSetPermissionDTO): Promise<ResponseResult>;
    deleteFolder(folderId: string): Promise<ResponseResult>;
    deleteMultipleFolder(folderIds: string): Promise<ResponseResult>;
    renameFolder(folderId: string, newFolderName: string): Promise<ResponseResult>;
    shareFolder(shareFolder: ShareFolderDTO): Promise<ResponseResult>;
    deleteShareFolder(folderId: string, objectId: string): Promise<ResponseResult>;
    getUploadUrl(): string;
    getFileDownloadUrl(fileId: string): string;
    getBinaryFileByFileId(fileId: string): Promise<any>;
    getScanFileUploadEndpoint(correlationId: string): string;
    getFile(fileId: string): Promise<ResponseResult>;
    getFileVersionDownloadUrl(fileVersionId: string): string;
    getAnonymousDownloadUrl(hash: string): string;
    generateLinkDownload(model: GenerateLinkDownloadDTO): Promise<ResponseResult>;
    downloadFile(fileId: string, isFileVersion?: boolean): void;
    generateLinkDownloadMultiple(model: GenerateLinkDownloadDTO[]): Promise<ResponseResult>;
    getBinaryFile(linkDownload: string): Promise<Object>;
    setMoveFileItem(moveFile: MoveFileDTO): Promise<ResponseResult>;
    deleteFile(fileId: string): Promise<ResponseResult>;
    deleteMultipleFile(fileIds: string): Promise<ResponseResult>;
    deleteFileVersion(fileVersionId: string): Promise<ResponseResult>;
    renameFile(fileId: string, newFileName: string): Promise<ResponseResult>;
    shareFile(shareFile: ShareFileDTO): Promise<ResponseResult>;
    deleteShareFile(fileId: string, objectId: string): Promise<ResponseResult>;
    getSharedFiles(folderId?: string): Promise<ResponseResult>;
    getUserSharingByFile(fileId: string): Promise<ResponseResult>;
    getFolderId(userId: string): Promise<ResponseResult>;
    isSupportedViewOnline(fileName: string): boolean;
    getFileType(fileName: string): string;
    convertToPdf(fileName: string, fileId: string, isFileVersion: boolean): Promise<string>;
    print(fileUrl: string): void;
    downloadByIframe(_elementRef: ElementRef, fileId: any): void;
    handleError(error: any): Promise<never>;
    supportDigitalSignature(fileName: string): boolean;
    saveSignedFile(data: any): Promise<ResponseResult>;
    getSignatureInfoByFileId(fileId: string): Promise<ResponseResult>;
    getSignatureInfoByFileVersionId(fileVersionId: string): Promise<ResponseResult>;
    getImageFileBase64(fileId: string, extension?: string, width?: number, height?: number): Promise<any>;
    getServiceFileExplorer(model: ServiceRequestModel): Promise<ResponseResult>;
}
//# sourceMappingURL=file-explorer-new.service.d.ts.map