import { URL } from "node:url"; import type { CtDiscoveryInfo, HtmlSecurityInfo, IdentityProviderInfo, RedirectHop } from "./types.js"; interface JsonResponse { statusCode: number; json: T | null; } type RequestJsonFn = (targetUrl: URL, extraHeaders?: Record) => Promise; export declare const IDENTITY_PROVIDER_PATTERNS: { provider: string; pattern: RegExp; }[]; export declare const detectIdentityProviderName: (candidates: string[]) => string; export declare const analyzeIdentityProvider: (finalUrl: URL, redirects: RedirectHop[], htmlSecurity: HtmlSecurityInfo, html: string | null, requestJson: RequestJsonFn, ctDiscovery?: CtDiscoveryInfo) => Promise; export {};