/**
 * @file Single HTTP request attempt — the workhorse beneath the retrying
 *   `httpRequest` orchestrator. Split out of `http-request/request.ts` for size
 *   hygiene. Handles:
 *
 *   - Native `http`/`https` request issuance
 *   - Redirect chasing (with cross-origin auth-header stripping + HTTPS→HTTP
 *     downgrade refusal)
 *   - Stream-mode bodies (Readable / form-data duck-typed)
 *   - `maxResponseSize` enforcement
 *   - Hook lifecycle (`onRequest` pre-issue, `onResponse` settle-or-error)
 *     Exported (not private) so `download.ts` can drive it in stream mode for
 *     its own download-attempt loop.
 */
import type { HttpRequestOptions } from './request-types';
import type { HttpResponse } from './response-types';
/**
 * Single HTTP request attempt (used internally by httpRequest with retry
 * logic). Supports hooks (fire per-attempt), maxResponseSize, and rawResponse.
 */
export declare function httpRequestAttempt(url: string, options: HttpRequestOptions): Promise<HttpResponse>;
