/**
 * Enhanced proxy-aware fetch implementation for AI SDK providers
 * Supports HTTP/HTTPS, SOCKS4/5, authentication, and NO_PROXY bypass
 * Lightweight implementation extracted from research of major proxy packages
 */
/**
 * Create a proxy-aware fetch function with enhanced capabilities
 * Supports HTTP/HTTPS, SOCKS4/5, authentication, and NO_PROXY bypass
 */
export declare function createProxyFetch(): typeof fetch;
/**
 * Mask credentials in a proxy URL for safe logging/reporting.
 *
 * Exported so provider-side fetch loggers (lmStudio, llamaCpp, deepseek,
 * nvidiaNim) can sanitize upstream URLs before emitting warnings — reverse-
 * proxied deployments can embed credentials or signed query params in the
 * base URL, and those should never reach application logs verbatim.
 */
export declare function maskProxyUrl(url: string | null | undefined): string | null;
/**
 * Get enhanced proxy status information
 */
export declare function getProxyStatus(): {
    enabled: boolean;
    httpProxy: string | null;
    httpsProxy: string | null;
    allProxy: string | null;
    socksProxy: string | null;
    noProxy: string | null;
    method: string;
    capabilities: string[];
};
