/** * DOM Scanner * Scans the DOM for external scripts and iframes, cross-referencing with c15t config */ import type { ConsentStoreState } from 'c15t'; /** * Represents a scanned external resource */ export interface ScannedResource { type: 'script' | 'iframe'; src: string; domain: string; status: 'managed' | 'unmanaged'; /** If managed, the c15t script ID that handles it */ managedBy?: string; } /** * Scans the DOM for external scripts and iframes, cross-referencing with c15t config */ export declare function scanDOM(state: ConsentStoreState): ScannedResource[]; /** * Creates the DOM scanner section UI */ export declare function createDomScannerSection(state: ConsentStoreState | null): HTMLElement; /** * Clears dismissed resources (for testing or reset) */ export declare function clearDismissedResources(): void;