/**
* Checks whether the given HTML contains any images with a `data-remote-src`
* attribute, indicating they reference external (remote) resources.
*
* @param html - The HTML string to inspect.
*/
export declare function containsRemoteImages(html: string): boolean;
/**
* If `allowRemoteImages` is `true`, replaces the `src` attribute of every
* `` element with the value of `data-remote-src`
* (provided it points to an http(s) URL) and removes the data attribute.
*
* When `allowRemoteImages` is `false` the HTML is returned unchanged.
*
* Returns an HTML fragment that is safe to assign to `innerHTML` on a regular
* container element (not a full `/