import { HttpClient } from '@angular/common/http';
import { Injector } from '@angular/core';
import { ResponseResult } from '../../../models/response-result';
import { BaseService } from '../../../services/base.service';
import { CrudService } from '../../../services/crud.service';
import { ModuleConfigService } from '../../../services/module-config.service';
import { NotifierService } from '../../../services/notifier.service';
import { FileExplorerItem } from '../models/file-explorer-item';
import { GenerateLinkDownloadDTO } from '../models/generate-link-download-dto';
export declare class DownloadLinkService extends BaseService {
    private _moduleConfigService;
    private _crudService;
    private _notifierService;
    entityName: string;
    convertModelType: {
        pdf: number;
        pdfBase64: number;
    };
    folderEndpoint: string;
    constructor(http: HttpClient, injector: Injector, _moduleConfigService: ModuleConfigService, _crudService: CrudService, _notifierService: NotifierService);
    downloadLink(model: GenerateLinkDownloadDTO): void;
    getGenerateDownloadLinkModel(explorerItem: FileExplorerItem): GenerateLinkDownloadDTO;
    generateDownloadLink(model: GenerateLinkDownloadDTO): Promise<ResponseResult>;
    downloadMultiple(model: Array<GenerateLinkDownloadDTO>): void;
    generateDownloadLinkMultiple(model: GenerateLinkDownloadDTO[]): Promise<ResponseResult>;
    getDownloadForSignUrl(hash: string): string;
    getAnonymousDownloadUrl(hash: string): string;
    getAnonymousDownloadUrlForViewer(hash: string, forceUsingInternal?: boolean): string;
    convertToPdf(fileName: string, fileInstanceId: string, fileVersionInstanceId: string): Promise<any>;
    /**
     * Lấy danh sách file trong một thư mục
     * @param serviceCode : mã dịch vụ
     * @param entity : tên lớp
     * @param entityKey : key(thường là id) của bản ghi
     * @returns
     */
    getFileAndDownloadLinkPublic(serviceCode: string, entity: string, entityKey: string): Promise<ResponseResult>;
}
//# sourceMappingURL=download-link.service.d.ts.map