import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from "@angular/core"; import { Subscription } from "rxjs"; import { TranslationService } from "../../core/services/translation/translation.service"; import { DocumentsService } from "../documents/services/documents.service"; import { ViewerFilesService } from "./viewer-files.service"; import * as i0 from "@angular/core"; /** * A component that views document versions * @title * Viewer Versions * * @example * * */ export declare class VersionsComponent implements OnInit, OnChanges, OnDestroy { private viewerFilesService; private trnaslationService; private documentsApi; /** Current selected version (in viewer) */ selectedVersion: any; /** Document object */ file: any; /** Actions on Version */ actions?: string[]; currentTranslation: string; originTranslation: string; historyTranslation: string; showUserCard: boolean; previewHijriDate: boolean; reversedTooltip: boolean; enableIfOverFlowDirective: boolean; handleActions: EventEmitter; versions: any[]; isArabic: boolean; langSubscription: Subscription; fetching: boolean; currentVersionActionsTemplate: TemplateRef; versionsActionsTemplate: TemplateRef; constructor(viewerFilesService: ViewerFilesService, trnaslationService: TranslationService, documentsApi: DocumentsService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; getVersion(version: any): string; getVersions(): void; showVersion(version: any): void; getFileSize(version: any): string; handleAction(event: any): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }