/** * @implements {t.PersistencePlugin} */ export class S3PersistenceV1 implements t.PersistencePlugin { /** * @param {S3Conf} s3conf */ constructor(s3conf: S3Conf); bucket: string; _agent: http.Agent; s3client: S3Client; get pluginid(): string; init(): Promise; /** * @param {t.AssetId} assetId * @param {t.Asset} asset * @return {Promise} */ store(assetId: t.AssetId, asset: t.Asset): Promise; /** * @param {t.AssetId} assetId * @param {t.Asset} assetInfo * @return {Promise} */ retrieve(assetId: t.AssetId, assetInfo: t.Asset): Promise; /** * @param {t.AssetId} assetId * @param {t.Asset} assetInfo * @return {Promise} */ delete(assetId: t.AssetId, assetInfo: t.Asset): Promise; } export type S3Conf = { bucket: string; endPoint: string; port: number; useSSL: boolean; accessKey: string; secretKey: string; }; import * as t from '../types.js'; import http from 'http'; import { Client as S3Client } from 'minio'; //# sourceMappingURL=s3.d.ts.map