/** * Forces a layout reflow on consent form paragraphs to fix iOS font rendering issues. * * **Problem**: All browsers on iOS devices (Safari, Chrome, Firefox, etc.) fail to properly * apply font styling to paragraph elements within the combined consent form. This appears * to be an iOS WebKit rendering bug where font styles are not correctly calculated or * applied during the initial layout pass. * * **Solution**: This function uses a "reflow hack" - temporarily hiding elements and * accessing their offsetHeight property forces the browser to recalculate the layout, * which triggers proper font rendering. * * **Behavior**: * - If the consent container (`#combined-consent`) is already present in the DOM, * observes it for content changes and triggers reflow when paragraphs are added * - If the container is not yet present, observes the document body until the * container appears, then triggers reflow on its paragraphs * - Automatically disconnects observers after the reflow is performed to prevent * memory leaks * * **Target Elements**: * Specifically targets `
` elements within `.IncodeCombinedConsentLabelWrapper` * containers inside the `#combined-consent` element. * * **Platform**: * Primarily intended for iOS devices where this font rendering bug occurs. * Safe to run on all platforms - no-op if the target elements don't exist. * * **Timing**: * Should be called after the DOM is ready but before or during consent form * initialization. Uses MutationObserver to handle dynamic content loading. * */ export declare const reflowCombinedConsentLayout: () => void; //# sourceMappingURL=consentReflow.d.ts.map