import { OnDestroy, OnInit, TemplateRef } from '@angular/core'; import { ShareService } from '../share.service'; import { SharingDTO } from '../../../../../common/entities/SharingDTO'; import { NotificationService } from '../../../model/notification.service'; import { BsModalService } from 'ngx-bootstrap/modal'; import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; import { Subscription } from 'rxjs'; import { AuthenticationService } from '../../../model/network/authentication.service'; import { ClipboardService } from 'ngx-clipboard'; import { ContentLoaderService } from '../contentLoader.service'; import { SearchQueryDTO } from '../../../../../common/entities/SearchQueryDTO'; export declare class GalleryShareComponent implements OnInit, OnDestroy { sharingService: ShareService; galleryService: ContentLoaderService; private notification; private modalService; authService: AuthenticationService; private clipboardService; enabled: boolean; dropDownItem: boolean; url: string; urlValid: boolean; showSharingList: boolean; input: { valid: { amount: number; type: ValidityTypes; }; password: string; }; currentDir: string; currentQuery: SearchQueryDTO; sharingTarget: string; currentMediaCount: number; currentMediaCountIsLowerBound: boolean; sharing: SharingDTO; contentSubscription: Subscription; readonly passwordRequired: boolean; readonly ValidityTypes: typeof ValidityTypes; modalRef: BsModalRef; invalidSettings: string; activeShares: SharingDTO[]; text: { Yes: string; No: string; }; constructor(sharingService: ShareService, galleryService: ContentLoaderService, notification: NotificationService, modalService: BsModalService, authService: AuthenticationService, clipboardService: ClipboardService); get IsAdmin(): boolean; ngOnInit(): void; ngOnDestroy(): void; deleteSharing(sharing: SharingDTO): Promise; private updateActiveSharesList; calcValidity(): number; update(): Promise; get(): Promise; openModal(template: TemplateRef): Promise; onCopy(): void; hideModal(): void; share(): Promise; } export declare enum ValidityTypes { Minutes = 1, Hours = 2, Days = 3, Months = 4, Forever = 99 }