import { ContentApi, NodeEntry, VersionEntry } from '@alfresco/js-api'; import * as i0 from "@angular/core"; /** * Directive selectors without adf- prefix will be deprecated on 3.0.0 */ export declare class NodeDownloadDirective { private readonly apiService; private readonly downloadService; private readonly dialog; private _contentApi; get contentApi(): ContentApi; /** Nodes to download. */ nodes: NodeEntry | NodeEntry[]; /** Node's version to download. */ version: VersionEntry; onClick(): void; /** * Downloads multiple selected nodes. * Packs result into a .ZIP archive if there is more than one node selected. * * @param selection Multiple selected nodes to download */ downloadNodes(selection: NodeEntry | Array): void; /** * Downloads a single node. * Packs result into a .ZIP archive is the node is a Folder. * * @param node Node to download */ downloadNode(node: NodeEntry): void; private isSelectionValid; private downloadFile; private downloadZip; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }