import S3 from 'aws-sdk/clients/s3'; import { Doc } from '../../models/Document'; export interface IProvider { } export interface S3ProviderOptions { bucket: string; cdnOrigin?: string; } declare type UploadFileArgs = { doc: Doc; bucket: string; key: string; content: S3.Body; contentType: string; acl: string; }; export declare class S3Provider implements IProvider { private _options; constructor(options: S3ProviderOptions); uploadFile({ doc, bucket, key, content, contentType, acl }: UploadFileArgs): Promise; } export interface LocalProviderOptions { } export declare class LocalProvider implements IProvider { constructor(options: LocalProviderOptions); } export {};