import { IExecuteFunctions } from 'n8n-workflow'; import { IFileUploadResponse, IFileDownloadResponse, IFileDeleteResponse } from './Interfaces/FileStorageInterfaces'; import { ILoginResponse } from './Interfaces/LoginInterfaces'; import { IProtectWithExternalRefIdRequest, IProtectWithExternalRefIdResponse, IProtectWithFileIdRequest, IProtectWithFileIdResponse, IProtectWithHotFolderRequest, IProtectWithHotFolderResponse } from './Interfaces/ProtectInterfaces'; import { IUnprotectRequest, IUnprotectResponse } from './Interfaces/UnprotectInterfaces'; export declare class SecloreDRMApiService { private context; private baseUrl; constructor(context: IExecuteFunctions, baseUrl: string); private handleHttpError; login(tenantId: string, tenantSecret: string, correlationId?: string): Promise; refreshToken(refreshToken: string, correlationId?: string): Promise; protectWithExternalRefId(protectRequest: IProtectWithExternalRefIdRequest, accessToken: string, correlationId?: string): Promise; protectWithFileId(protectRequest: IProtectWithFileIdRequest, accessToken: string, correlationId?: string): Promise; protectWithHotFolder(protectRequest: IProtectWithHotFolderRequest, accessToken: string, correlationId?: string): Promise; unprotect(unprotectRequest: IUnprotectRequest, accessToken: string, correlationId?: string): Promise; uploadFile(fileBuffer: Uint8Array, fileName: string, accessToken: string, correlationId?: string): Promise; downloadFile(fileStorageId: string, accessToken: string, correlationId?: string): Promise; deleteFile(fileStorageId: string, accessToken: string, correlationId?: string): Promise; }