/**
 * Builds an inline script tag that reads `data-src` from the first iframe
 * in the script's parent element, detects the nearest non-transparent ancestor
 * background color, appends it as a `background` query param, and sets `src`
 * to trigger a single load with the correct background.
 *
 * Uses `document.currentScript` to scope to the containing card, so multiple
 * instances on the same page each target their own iframe.
 *
 * Note: the inner function is serialized to a string and embedded in a <script>
 * tag, so TypeScript checking of the inner function body is not meaningful.
 */
export declare function buildSrcBackgroundScript(document: Document): HTMLScriptElement;
//# sourceMappingURL=set-src-background-from-parent.d.ts.map