import { Request } from './types.js'; import { Page } from 'puppeteer'; import { ProxyOptions } from './types.js'; interface AsyncDisposablePage extends Page { [Symbol.asyncDispose](): Promise; } export declare function constructUrl(req: { url: string; multiValueQueryString?: Record; }): string; export declare function parseUrlToRequest(urlString: string): Request; /** * Executes an HTTP request with logging and error handling. * This is a shared implementation used by withFetch and multi-request flow executor. * * @param url - The full URL to request * @param method - HTTP method * @param headers - Optional headers * @param body - Optional request body * @returns Response object and response text */ export declare function executeFetch(url: string, method: string, headers?: Record, body?: string): Promise<{ response: Response; responseText: string; }>; /** * Strips embedded JS & CSS from raw HTML while preserving structure and classes. * - Removes: