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 DocumentActionsService { private readonly nodeActionsService; private readonly contentNodeDialogService; private readonly translation; private readonly documentListService; private readonly contentService; permissionEvent: Subject; error: Subject; success: Subject; private handlers; constructor(); /** * Gets the handler for an action. * * @param key Identifier of the action * @returns The handler for the action */ getHandler(key: string): ContentActionHandler; /** * Sets a new handler for an action. * * @param key Identifier of the action * @param handler Handler for the action * @returns False if the key was an empty/null string, true otherwise */ setHandler(key: string, handler: ContentActionHandler): boolean; /** * Checks if actions can be executed for an item. * * @param nodeEntry Item to receive an action * @returns True if the action can be executed on this item, false otherwise */ canExecuteAction(nodeEntry: NodeEntry): boolean; private setupActionHandlers; private lockNode; private downloadNode; private copyNode; private moveNode; private prepareHandlers; private deleteNode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }