import { Injector } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { ModuleConfigService } from '../../../services/module-config.service';
import { AuthenService } from '../../../services/authen.service';
import { ResponseResult } from '../../../models/response-result';
import { BaseService } from '../../../services/base.service';
export declare class FileVersionService extends BaseService {
    private _moduleConfig;
    private _authenService;
    private _moduleConfigService;
    readonly RETRY_COUNT: number;
    readonly REPLAY_COUNT: number;
    constructor(_http: HttpClient, _injector: Injector, _moduleConfig: ModuleConfigService, _authenService: AuthenService, _moduleConfigService: ModuleConfigService);
    getListFileVersions(fileId: string): Promise<ResponseResult>;
    createNewMinorVersion(fileInstanceId: string, fileVersionInstanceId: string, isFileVersion: boolean): Promise<ResponseResult>;
    getFileVersionDownloadUrl(fileVersionInstanceId: string): string;
    getUploadFileVersionApiUrl(): string;
    getRemoveFileVersionApiUrl(): string;
    getNextMajorVersion(fileId: string): Promise<ResponseResult>;
    setVersionToMajor(fileVersionInstanceId: string): Promise<ResponseResult>;
    deleteFileVersion(fileVersionId: string): Promise<ResponseResult>;
    handleError(error: any): Promise<never>;
}
//# sourceMappingURL=file-version.service.d.ts.map