export interface HttpFetchOptions { headers?: Record; timeoutMs?: number; conditionalHeaders?: { ifNoneMatch?: string; ifModifiedSince?: string; }; signal?: AbortSignal; /** * Whether private/LAN redirect targets are permitted. Defaults to the * resolved `WIGOLO_FETCH_ALLOW_PRIVATE` config so the redirect re-guard uses * the same policy the input URL was guarded under. Link-local / metadata * targets stay blocked regardless. */ allowPrivate?: boolean; } export interface HttpFetchResult { url: string; finalUrl: string; html: string; contentType: string; statusCode: number; headers: Record; rawBuffer?: Buffer; } export declare function httpFetch(url: string, options?: HttpFetchOptions): Promise; //# sourceMappingURL=http-client.d.ts.map