import { NodePaging, SharedLinkBodyCreate, SharedLinkEntry, SharedlinksApi } from '@alfresco/js-api'; import { Observable, Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class SharedLinksApiService { private readonly apiService; private readonly preferences; error: Subject<{ statusCode: number; message: string; }>; private _sharedLinksApi; get sharedLinksApi(): SharedlinksApi; /** * Gets shared links available to the current user. * * @param options Options supported by JS-API * @returns List of shared links */ getSharedLinks(options?: any): Observable; /** * Creates a shared link available to the current user. * * @param nodeId ID of the node to link to * @param sharedLinkWithExpirySettings shared link with nodeId and expiryDate * @param options Options supported by JS-API * @returns The shared link just created */ createSharedLinks(nodeId: string, sharedLinkWithExpirySettings?: SharedLinkBodyCreate, options?: any): Observable; /** * Deletes a shared link. * * @param sharedId ID of the link to delete * @returns Null response notifying when the operation is complete */ deleteSharedLink(sharedId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }