import * as cloudfront from "aws-cdk-lib/aws-cloudfront";
import * as s3 from "aws-cdk-lib/aws-s3";
/** S3 errors and timeouts on the primary. A missing object or bucket is a 403/404 (OAC grants GetObject only),
 *  which only counts where the copy is written independently of the primary: the issuer. */
export declare const FAILOVER_STATUS_CODES: number[];
export declare const ISSUER_FAILOVER_STATUS_CODES: number[];
/** One origin group over a bucket and its same-region copy, each behind its own origin access control
 *  (Security Hub CloudFront.4). Share the returned instance between behaviours: a second call mints new origins. */
export declare function failoverOrigin(primary: s3.IBucket, copy: s3.IBucket, fallbackStatusCodes?: number[]): cloudfront.IOrigin;
