import { NodeEntry } from '@alfresco/js-api'; import { Subject } from 'rxjs'; import { ContentActionHandler } from '../models/content-action.model'; import { PermissionModel } from '../models/permissions.model'; import * as i0 from "@angular/core"; export declare class FolderActionsService { private readonly nodeActionsService; private readonly documentListService; private readonly contentService; private readonly translation; permissionEvent: Subject; error: Subject; success: Subject; private handlers; constructor(); /** * Gets the handler function for an action. * * @param key Identifier for the action * @returns The handler function */ getHandler(key: string): ContentActionHandler; /** * Sets a new handler function for an action. * * @param key Identifier for the action * @param handler The new handler function * @returns True if the key was a valid action identifier, false otherwise */ setHandler(key: string, handler: ContentActionHandler): boolean; /** * Checks if an action is available for a particular item. * * @param nodeEntry Item to check * @returns True if the action is available, false otherwise */ canExecuteAction(nodeEntry: NodeEntry): boolean; private setupActionHandlers; private downloadNode; private copyNode; private moveNode; private prepareHandlers; private deleteNode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }