import { EventEmitter } from '@angular/core'; import { Subject, Observable } from 'rxjs'; import { Node } from '@alfresco/js-api'; import { NodeAction } from '../document-list/models/node-action.enum'; import * as i0 from "@angular/core"; export declare class ContentNodeDialogService { private readonly dialog; private readonly contentService; private readonly documentListService; private readonly siteService; private readonly translation; private readonly thumbnailService; static nonDocumentSiteContent: string[]; /** Emitted when an error occurs. */ error: EventEmitter; /** * Opens a file browser at a chosen folder location. * shows files and folders in the dialog search result. * * @param folderNodeId ID of the folder to use * @returns Information about the selected file(s) */ openFileBrowseDialogByFolderId(folderNodeId: string): Observable; /** * Opens a lock node dialog. * * @param contentEntry Node to lock * @returns Error/status message (if any) */ openLockNodeDialog(contentEntry: Node): Subject; /** * Opens a file browser at a chosen site location. * shows files and folders in the dialog search result. * * @returns Information about the selected file(s) */ openFileBrowseDialogBySite(): Observable; /** * Opens a file browser at a default myFile location. * shows files and folders in the dialog search result. * * @returns Information about the selected file(s) */ openFileBrowseDialogByDefaultLocation(): Observable; /** * Opens a folder browser at a chosen site location. * * @returns Information about the selected folder(s) */ openFolderBrowseDialogBySite(): Observable; /** * Opens a folder browser at a chosen folder location. * * @param folderNodeId ID of the folder to use * @returns Information about the selected folder(s) */ openFolderBrowseDialogByFolderId(folderNodeId: string): Observable; /** * Opens a dialog to copy or move an item to a new location. * * @param action Name of the action (eg, "Copy" or "Move") to show in the title * @param contentEntry Item to be copied or moved * @param permission Permission for the operation * @param excludeSiteContent The site content that should be filtered out * @returns Information about files that were copied/moved */ openCopyMoveDialog(action: NodeAction, contentEntry: Node, permission?: string, excludeSiteContent?: string[]): Observable; /** * Gets the translation of the dialog title. * * @param action Name of the action to display in the dialog title * @param name Name of the item on which the action is being performed * @returns Translated version of the title */ getTitleTranslation(action: string, name: string): string; /** * Opens a dialog to choose folders to upload. * * @param action Name of the action to show in the title * @param contentEntry Item to upload * @returns Information about the chosen folder(s) */ openUploadFolderDialog(action: NodeAction, contentEntry: Node): Observable; /** * Opens a dialog to choose a file to upload. * * @param action Name of the action to show in the title * @param contentEntry Item to upload * @param showFilesInResult Show files in dialog search result * @returns Information about the chosen file(s) */ openUploadFileDialog(action: NodeAction, contentEntry: Node, showFilesInResult?: boolean): Observable; private openContentNodeDialog; private imageResolver; private hasAllowableOperationsOnNodeFolder; private isNodeFolder; private isCopyMoveSelectionValid; private hasEntityCreatePermission; private isSite; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }