import { ILifecycle } from './lifecycle'; import * as AWS from 'aws-sdk'; export interface IS3Component { getObject(bucketName: string, path: string): AWS.S3.Body; } export declare class S3Component implements ILifecycle, IS3Component { private s3; constructor(s3: AWS.S3); start(): void; stop(): void; getObject(bucketName: string, path: string): Promise; }