declare class Archive { private elasticbeanstalk; private s3; /** * @param {object} elasticbeanstalk - AWS SDK * @param {object} s3 - AWS SDK */ constructor(elasticbeanstalk: object, s3: object); /** * Check whether application version has already been created * @param {string} applicationName * @param {string} versionLabel * @returns {Promise.} */ alreadyUploaded(applicationName: any, versionLabel: any): Promise; /** * Create the Amazon S3 storage location * @returns {Promise.} Return {S3Bucket} The name of the Amazon S3 bucket created */ createStorageLocation(): Promise; /** * Upload file to S3 * @param {string} bucket - The name of the Amazon S3 bucket created * @param {string} archiveName * @param {string} filePath * @returns {Promise.} Promise */ uploadToS3(bucket: any, archiveName: any, filePath: any): any; /** * Creates an application version for the specified application * @param {string} applicationName * @param {string} versionLabel * @param {string} archiveName * @param {string} bucket - The name of the Amazon S3 bucket created * @returns {Promise.} Promise */ makeApplicationVersionAvailableToBeanstalk(applicationName: any, versionLabel: any, archiveName: any, bucket: any): any; /** * Parse the file path * @param {string} filePath - File path of the artifact * @returns {{archiveName: string, versionLabel: string, applicationName: string}} Object */ parse(filePath: any): { archiveName: string; versionLabel: string | undefined; applicationName: string; }; /** * Upload artifact to application and make application version available * @param {string} filePath - File path of the artifact * @returns {Promise.} Promise */ upload(filePath: any): Promise<{ archiveName: string; versionLabel: string | undefined; applicationName: string; }>; } export default Archive;