///
import * as AWS from 'aws-sdk';
export declare function mockAws(): {
mockEcr: AWS.ECR;
mockS3: AWS.S3;
discoverCurrentAccount: jest.Mock, []>;
discoverDefaultRegion: jest.Mock, []>;
ecrClient: jest.Mock, []>;
s3Client: jest.Mock, []>;
};
export declare function errorWithCode(code: string, message: string): Error;
export declare function mockedApiResult(returnValue: any): jest.Mock;
export declare function mockedApiFailure(code: string, message: string): jest.Mock;
/**
* Mock upload, draining the stream that we get before returning
* so no race conditions happen with the uninstallation of mock-fs.
*/
export declare function mockUpload(expectContent?: string): jest.Mock;