export class S3Uploader { isEnabled: any; storeEnabled: boolean; config: {}; /** * @type {{path: string, size: number}[]} */ skippedUploads: { path: string; size: number; }[]; failedUploads: any[]; /** * @type {{path: string, size: number, link: string}[]} */ successfulUploads: { path: string; size: number; link: string; }[]; configKeys: string[]; resetConfig(): void; /** * * @returns {Record} */ getConfig(): Record; getMaskedConfig(): { [k: string]: string; }; checkEnabled(): any; enableLogStorage(): void; disableLogStorage(): void; /** * Returns an array of uploaded files * * @returns {{rid: string, file: string, uploaded: boolean}[]} */ readUploadedFiles(runId: any): { rid: string; file: string; uploaded: boolean; }[]; storeUploadedFile(filePath: any, runId: any, rid: any, uploaded?: boolean): void; /** * @param {*} filePath * @param {*} pathInS3 contains runId, rid and filename * @returns */ uploadFileByPath(filePath: any, pathInS3: any): Promise; /** * @param {Buffer} buffer * @param {string[]} pathInS3 * @returns */ uploadFileAsBuffer(buffer: Buffer, pathInS3: string[]): Promise; checkArtifactExistsInFileSystem(filePath: any, attempts?: number, intervalMs?: number): Promise; getS3LocationLink(out: any): Promise; #private; }