1 | import * as S3 from 'aws-sdk/clients/s3';
|
2 | export declare const uploadFile: (local: string, options: S3.PutObjectRequest) => Promise<{}>;
|
3 | export declare const headObject: (options: S3.HeadObjectRequest) => Promise<S3.HeadObjectOutput>;
|
4 | export declare namespace upload {
|
5 | interface Options {
|
6 | localFile: string;
|
7 | s3Params: {
|
8 | Bucket: string;
|
9 | Key: string;
|
10 | };
|
11 | }
|
12 | }
|
13 | export declare function s3(): S3;
|
14 | export declare namespace s3 {
|
15 | let _s3: S3;
|
16 | }
|