import { NetworkService } from '../../model/network/network.service'; import { SharingDTO } from '../../../../common/entities/SharingDTO'; import { Router } from '@angular/router'; import { BehaviorSubject } from 'rxjs'; import { UserDTO } from '../../../../common/entities/UserDTO'; import { SearchQueryDTO } from '../../../../common/entities/SearchQueryDTO'; export declare class ShareService { private networkService; private router; readonly UnknownSharingKey: SharingDTO; param: string; queryParam: string; sharingKey: string; inited: boolean; ReadyPR: Promise; sharingSubject: BehaviorSubject; sharingIsValid: BehaviorSubject; currentSharing: import("rxjs").Observable; private resolve; constructor(networkService: NetworkService, router: Router); getUrl(share: SharingDTO): string; onNewUser: (user: UserDTO) => Promise; wait(): Promise; createSharing(dir: string, password: string, valid: number): Promise; createSharingByQuery(searchQuery: SearchQueryDTO, password: string, valid: number): Promise; updateSharing(dir: string, sharingId: number, password: string, valid: number): Promise; updateSharingByQuery(sharingId: number, searchQuery: SearchQueryDTO, password: string, valid: number): Promise; getSharingKey(): string; isSharing(): boolean; getSharingListForQuery(query: SearchQueryDTO): Promise; getSharingList(): Promise; deleteSharing(sharing: SharingDTO): Promise; private getSharing; private checkSharing; }