import { URL } from "node:url";
import type { HtmlSecurityInfo } from "./types.js";
export declare function fetchHtmlDocument(finalUrl: URL): Promise<{
html: string;
pageTitle: string;
signature: string;
}>;
export declare function analyzeHtmlSecurity(finalUrl: URL, document: {
html: string;
pageTitle: string | null;
} | null): HtmlSecurityInfo;
export declare function analyzeHtmlDocument(input: string | URL, html: string): HtmlSecurityInfo;
export declare function detectAssessmentLimitation(statusCode: number, headers: Record, html: string | null): {
limited: boolean;
kind: "auth_required";
title: string;
detail: string;
} | {
limited: boolean;
kind: "rate_limited";
title: string;
detail: string;
} | {
limited: boolean;
kind: "service_unavailable";
title: string;
detail: string;
} | {
limited: boolean;
kind: "blocked_edge_response";
title: string;
detail: string;
} | {
limited: boolean;
kind: any;
title: any;
detail: any;
};