export interface InvalidProxyUrlFailure {
    /** The environment variable that holds the invalid proxy URL. */
    envVarName: string;
}
/**
 * Detect whether a given error was caused by an invalid HTTP(S) proxy URL in
 * the environment.
 *
 * `getDispatcher` wraps that failure as a `DispatcherError` whose cause is an
 * `InvalidProxyUrlError`. Download helpers may wrap it again as a HardhatError.
 * Walking the cause chain finds the original configuration error in every case.
 */
export declare function detectInvalidProxyUrl(error: Error): InvalidProxyUrlFailure | undefined;
//# sourceMappingURL=invalid-proxy-url-error.d.ts.map