/** * HTML Scanner - Fetches and parses HTML from production URL */ import type { ScriptInfo } from '../types.js'; import { Logger } from '../utils/logger.js'; export declare class HtmlScanner { private logger; constructor(logger: Logger); /** * Fetch HTML from production URL */ fetchHtml(url: string): Promise; /** * Parse HTML and extract script information */ parseScripts(html: string, baseUrl: string): ScriptInfo[]; /** * Resolve relative URL to absolute URL */ private resolveUrl; /** * Extract hash from filename (e.g., main.abc123.js -> abc123) */ private extractHash; /** * Detect if script is minified based on filename or content */ private detectMinification; /** * Classify scripts into external and inline, with size-based warnings */ classifyScripts(scripts: ScriptInfo[]): { external: ScriptInfo[]; inline: ScriptInfo[]; warnings: string[]; }; } //# sourceMappingURL=html-scanner.d.ts.map