import type { CORSConfiguration } from '@aws-sdk/client-s3'; import type { CliContext } from '../context/create-context.js'; export declare function setupDevelopmentS3Buckets(context: CliContext): Promise; /** * The frontend downloads a file by reading its bytes instead of opening its url (see downloadFile in * @stamhoofd/components), so the file server has to allow our apps to read from it. Production does the same, * and without it every download in development fails. * * Any origin is allowed: webshops and registration pages run on domains of our customers, so there is no list * of origins to allow. Nothing here is private - reading a file still needs a signed url or a public object. */ export declare function bucketCorsConfiguration(): CORSConfiguration; export declare function publicBucketPolicy(bucket: string): string; //# sourceMappingURL=s3-buckets.d.ts.map