import type { RrwebPlugin } from "./rrweb-plugin-types";
export declare const DOWNLOAD_PLUGIN_NAME = "milana/download@1";
export type DownloadDetectionPayload = {
href: string;
downloadFilename: string;
};
/**
* Detects programmatic blob downloads that rrweb misses.
*
* The most common JS download pattern (create , append to DOM, .click(), remove)
* is not captured by rrweb because the add+remove are optimized away when in the same MutationObserver batch.
* This plugin observes direct children of document.body for these ephemeral elements.
* Scoped to body (no subtree) to avoid firing on every DOM mutation in the page.
*/
export declare function getDownloadDetectionPlugin(): RrwebPlugin;
//# sourceMappingURL=download-detection-plugin.d.ts.map