/**
 * 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
 * `<img data-remote-src="...">` 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 `<html>/<head>/<body>` document string).
 *
 * @param html - The HTML string to process.
 * @param allowRemoteImages - Whether to restore remote image sources.
 */
export declare function applyRemoteImagesPolicy(html: string, allowRemoteImages: boolean): string;
//# sourceMappingURL=remote-images.d.ts.map