import { HttpClient } from '@angular/common/http'; import { EventEmitter, OnDestroy } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Router } from '@angular/router'; import { Observable, Subject, Subscriber, Subscription } from 'rxjs'; import { CustomToastrService } from '../components/custom-toastr/services/custom-toastr.service'; import { FileManagerPaginationData, PaginationPayload } from '../components/file-manger/models'; import { AppConfigService } from '../configuration/app-config.service'; import { AdapterService } from '../core/adapters/adapter.service'; import { CallApiService } from '../core/services/callApi/call-api.service'; import { NuxeoService } from '../core/services/nuxeo/nuxeo.service'; import { TranslationService } from '../core/services/translation/translation.service'; import { EvaluatorsService } from '../directive/permissions/evaluators.service'; import { FileManagerAdapter } from './file-manager.adapter'; import { MainfolderService } from './mainfolder.service'; import { RecentlyViewedService } from './recently-viewed.service'; import * as i0 from "@angular/core"; export declare class FileManagerService implements OnDestroy { #private; private callApi; private adapter; private environment; private fileManagerAdapter; private appConfService; private nuxeoService; private permissionEvaluatorService; private mainFolderService; private http; private translationService; private toaster; private dialog; private router; private recentlyViewedService; pageProvider: any; headers: any; fields: any; allFilesConfig: any; selectedFolderId: any; onRefreshingFileManger: Subject; onRefreshClipboard: EventEmitter; permissionsList: string[]; userPermittedTypes: any[]; userPermittedTypesTotalSize: number; userPermittedFilesOnly: any[]; sharedFiles: any; isArabic: boolean; langSubscription: Subscription; clipboardPermissionList: string[]; customEvent: EventEmitter; static PaginationConfig: { enable: boolean; pageSize: number; }; constructor(callApi: CallApiService, adapter: AdapterService, environment: any, fileManagerAdapter: FileManagerAdapter, appConfService: AppConfigService, nuxeoService: NuxeoService, permissionEvaluatorService: EvaluatorsService, mainFolderService: MainfolderService, http: HttpClient, translationService: TranslationService, toaster: CustomToastrService, dialog: MatDialog, router: Router, recentlyViewedService: RecentlyViewedService); ngOnDestroy(): void; setMyTableConfiguration(): void; getClipboardAcceptedTypes(id: any): Observable; getClipboardDocuments(docIds: any, sortObj?: any): Observable; sortingTypes(types: any): any; CreateLoanRequest(input: any, context: any, params?: {}): Observable; CreateTransferRequest(input: any, context: any, params?: {}): Observable; subscribe_OR_unSubscribeToItem(item: any, isUserSubscriberToFile: any): Observable; openFile(Data: any, fileId: any, dynaimcFormType?: '', searchString?: string): void; registerAuditLog(docId: any, eventType: any): void; subscribeOrUnsubscribeUserToItem(itemId: any, ToDo: any): Observable; getUserAcceptedTypes(contentTypee?: any): Observable; fetchUserPermittedTypesRecursively(offset: any, pageSize: any, op: Subscriber, contentTypee?: any): void; refreshUserAcceptedTypes(): void; checkIfDocumentIsFile(document: any): "File" | "Folder"; getChildren(id: any, payload?: PaginationPayload, loadFolders?: boolean): Observable>; getChildrenForSharedDocumentRoot(id: any, payload?: PaginationPayload, loadFolders?: boolean): Observable>; refreshData(id: any, payload?: PaginationPayload, loadFolders?: boolean): Observable>; getFolders(id: any, pageProvider?: string): Observable; getMapedFolder(uid: string): Observable; createFolder(params: any, id: any): Observable; createDirectory(params: any, id: any): Observable; UpdateFolder(params: any, id: any): Observable; deleteFolder(folderId: any): Observable; addToCollection(id: string, collectionId: string, operation?: string): Observable; renameFolder(body: any, id: any): Observable; createFile(payload: any, id: any, customApi?: any): Observable; createNewCollection(name: string, operation?: string): Observable; copyTo(destination: any, id: any): Observable; moveTo(destination: any, id: any): Observable; getCollectionSuggestion(term: string, operation?: string): Observable; getCollectionFromPP(searchTerm: string, pp?: string, queryParams?: Record): Observable; setSync(id: any): Observable; unSetSync(id: any): Observable; addToFavorites(id: string, operation?: string): Observable; defineNewPerson(title: any, titleEn: any, ids: any): Observable; addToQuickAccess(id: string, operation?: string): Observable; removeFromQuickAccess(id: string, operation?: string): Observable; removeFromFavorites(id: string, operation?: string): Observable; getFolder(uid: string, headers?: Record): Observable; getLogs(id: any, pageIndex?: number, pageSize?: number): Observable; getFileSchemas(type: any): Observable; downloadAsZip(selectedItems: any, fileTitle: any): Subscription; parseNodeChildren: (observable: any, pageConfigurations: any, parent?: boolean) => any; createTreeNodeChildren(parent: any): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }