declare global { interface Window { UseBodyBannerImageAsBackground?: boolean; } } export declare class PageBackground { private pageBackground; private bodyBanner; private bodyBannerImage; private mutationObserver; private logger; constructor(useBodyBannerImage?: boolean); private findBodyBannerImage; /** * Initialize background image by finding and setting CSS custom property */ private initializeBackgroundImage; private getBackgroundImage; private useBodyBannerAsBackground; private getImageSource; /** * Set the background image URL as a CSS custom property */ private setBackgroundImageUrl; /** * Processes attribution positioning for background images by moving positioning classes * and data attributes from images to their parent column containers. * * This function handles two attribution patterns: * 1. Class-based: * 2. Data attribute-based: * * Examples: * * Class-based attribution: * * → Moves "attribution-bottomright" class to parent .en__component--column * * Data attribute-based attribution: * * → Converts to "attribution-top" class and moves to parent .en__component--column * * Supported positioning values: * - center * - top, topcenter (these result in the same positioning) * - right, rightcenter (these result in the same positioning) * - bottom, bottomcenter (these result in the same positioning) * - left, leftcenter (these result in the same positioning) * - topright * - bottomright * - bottomleft * - topleft */ private processAttributionPositioning; /** * Process attribution for a single image */ private processImageAttribution; /** * Handle class-based attribution positioning */ private handleClassBasedAttribution; /** * Handle data attribute-based attribution positioning */ private handleDataAttributeAttribution; private setupMutationObserver; reprocessAttributionPositioning(): void; /** * Clean up resources and observers */ destroy(): void; private setDataAttributes; private hasVideoBackground; private hasImageBackground; }