import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { AllowableOperationsEnum } from '../../common/models/allowable-operations.enum'; import { Node } from '@alfresco/js-api'; import { Subject } from 'rxjs'; import { PermissionModel } from '../../document-list/models/permissions.model'; import { UploadBase } from './base-upload/upload-base'; import * as i0 from "@angular/core"; export declare class UploadButtonComponent extends UploadBase implements OnInit, OnChanges { private readonly contentService; private readonly nodesApiService; /** Allows/disallows upload folders (only for Chrome). */ uploadFolders: boolean; /** Allows/disallows multiple files */ multipleFiles: boolean; /** Defines the text of the upload button. */ staticTitle: string; /** Custom tooltip text. */ tooltip: string; /** Custom added file. The upload button type will be 'button' instead of 'file' */ file: File; /** Emitted when create permission is missing. */ permissionEvent: EventEmitter; private hasAllowableOperations; protected permissionValue: Subject; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isButtonDisabled(): boolean; onFilesAdded($event: any): void; onClickUploadButton(): void; onDirectoryAdded($event: any): void; checkPermission(): void; nodeHasPermission(node: Node, permission: AllowableOperationsEnum | string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }