export type HTTPConfig = RequestInit & { params?: Record; timeout?: number; maxRetries?: number; retryDelay?: number; maxRedirects?: number; maxResponseBytes?: number; /** Reject known private/local destinations before each fetch or redirect. */ protectPrivateNetwork?: boolean; /** Restrict redirects (and the initial request) to these hostnames. */ allowedRedirectHosts?: readonly string[]; validateStatus?: (status: number) => boolean; onRetry?: (error: Error, attempt: number) => void; }; export type HTTPResponse = { data: T; status: number; statusText: string; finalUrl: string; headers: Headers; retryCount: number; }; export declare function httpGet(input: string, config?: HTTPConfig): Promise>;