import * as pino from 'pino'; import { Image } from './upload-image-to-aws'; /** * Creates a bucket if it does not exist. */ export declare const makeBucket: (log: pino.BaseLogger, bucketName: string, region: string) => Promise<{ fullBucketName: string; bucketRegion: string; }>; /** * Uploads image to bucket (overwrites the existing image if image with the same name exists). */ export declare const uploadImageToBucket: (log: pino.BaseLogger, bucketName: string, image: Image) => Promise; /** * Retrieves and updates bucket policy to grant access to CloudFront distribution. */ export declare const updateBucketPolicy: (log: pino.BaseLogger, bucketName: string, originAccessIdentityId: string) => Promise;