import * as pino from 'pino'; import { Image } from './upload-image-to-aws'; /** * Create and return origin access identity ID that will be used in CloudFront distribution creation and granting access to S3 bucket. */ export declare const getOriginAccessIdentityId: (log: pino.BaseLogger, bucketName: string) => Promise; /** * Returns the DomainName of an existing cloudfront distro * @s3Bucket s3 bucket used as the origin for the cloudfront distro * @returns DomainName to the cloudfront distro */ export declare const getExistingCloudfrontDistro: (log: pino.BaseLogger, s3Bucket: string) => Promise; /** * Creates Cloudfront distribution and returns the URL to image. */ export declare const createCloudFrontDistribution: (log: pino.BaseLogger, bucketName: string, region: string, originAccessIdentityId: string, image: Image) => Promise; /** * Check if an origin access identity ID exists. */ export declare const validateOriginAccessIdentityId: (log: pino.BaseLogger, originAccessIdentityId: string) => Promise;