export interface IStorageDescriptor {
  type?: 's3' | 'smartstorage';
  endpoint: string;
  port?: number | string;
  useSsl?: boolean;
  accessKey: string;
  accessSecret: string;
  /**
   * may be used to preselect a certain bucket
   */
  bucketName?: string;
  /**
   * may be used to preselect a certain directory
   */
  directoryPath?: string;
  region?: string;
}

/**
 * @deprecated Use IStorageDescriptor instead.
 */
export type IS3Descriptor = IStorageDescriptor;
