import * as plugins from '../plugins.js'; import type { IBlobStorageManager } from '@push.rocks/smartmta'; type TBlobBucket = Pick; export interface ISmartMtaBlobStorageConfig { storageDescriptor: plugins.tsclass.storage.IStorageDescriptor; bucketName: string; objectPrefix?: string; createBucketIfMissing?: boolean; } /** * SmartMTA blob persistence backed by a SmartBucket bucket. * * The adapter accepts only SmartMTA queue, attachment, and retained-message * namespaces. Every key remains a SmartBucket object key. */ export declare class SmartMtaBlobStorageManager implements IBlobStorageManager { private readonly bucketRef; private readonly objectPrefix; constructor(bucketRef: TBlobBucket, objectPrefix?: string); static create(configArg: ISmartMtaBlobStorageConfig): Promise; get(keyArg: string): Promise; set(keyArg: string, valueArg: Buffer): Promise; list(prefixArg: string): Promise; delete(keyArg: string): Promise; private toObjectKey; } export {};