/** * JavaScript API Extractor * * Extracts API URLs by analyzing JavaScript code in HTML pages. * This performs static analysis of script tags to find: * - fetch() calls * - axios requests * - XMLHttpRequest usage * - API base URLs in config objects * - GraphQL endpoints */ /** * Check if a string looks like an API URL */ export declare function looksLikeApiUrl(str: string): boolean; /** * Resolve a potentially relative API URL to absolute */ export declare function resolveApiUrl(url: string, origin: string): string; /** * Predict common API endpoint patterns based on URL structure */ export declare function predictAPIEndpoints(url: URL): string[]; /** * Extract API URLs by analyzing JavaScript code in the page * * This performs static analysis of script tags to find: * - fetch() calls * - axios requests * - XMLHttpRequest usage * - API base URLs in config objects * - GraphQL endpoints */ export declare function extractApisFromJavaScript(html: string, pageUrl: URL): string[]; //# sourceMappingURL=js-api-extractor.d.ts.map