import type { FetchResult, ScreenshotResult, DownloadedImage, SiteStructure, FullPageScrape } from "./types.ts"; export declare function processHtml(rawHtml: string, baseUrl: string): { html: string; css: string; title: string; metaDescription: string; }; export declare function fetchPageContent(url: string): Promise; export declare function takeScreenshot(url: string, _options?: Record): Promise; export declare function downloadImage(url: string, _alt?: string, outputDir?: string): Promise; /** * Scrape a page using Playwright — combines screenshot, rendered DOM extraction, * and section analysis in a single browser session. * * Handles JS-rendered content (Elementor, lazy loading, SPAs) that * plain HTTP fetch misses. Uses auto-waiting for reliable rendering. */ export declare function scrapeFullPage(url: string): Promise; /** * Discover pages on a website via sitemap.xml, robots.txt, and link crawling. * * Strategy (in priority order): * 1. Try sitemap.xml at the site root * 2. Try robots.txt for Sitemap: directives * 3. Fall back to extracting links from the homepage */ export declare function discoverSitePages(url: string): Promise;