import type { FetchFn, RenderFn } from './types.js'; import type { EgressGuardOptions } from './egress-guard.js'; export interface ScrapeOptions { fetchFn?: FetchFn; renderFn?: RenderFn; timeoutMs: number; signal: AbortSignal; lookupFn?: EgressGuardOptions['lookupFn']; } export interface ScrapeResult { title: string; markdown: string; finalUrl: string; usedRender: boolean; advisory?: string; } export declare function scrapeToMarkdown(url: string, opts: ScrapeOptions): Promise;