import { type RequestInit, type Response } from 'undici'; import type { GeckodriverParameters } from './types.js'; export declare function hasAccess(filePath: string): Promise; export declare function getDownloadUrl(version: string): string; export declare function parseParams(params: GeckodriverParameters): string[]; export declare function retryFetch(url: string, opts?: RequestInit, retry?: number): Promise; /** * fetch rejects a URL with `user:pass@`: move the credentials of `GECKODRIVER_CDNURL` into an * Authorization header. The returned `url` has none, so it is the one to log. */ export declare function extractBasicAuthFromUrl(urlString: string): { url: string; authHeader?: string; };