import { CoolhandRequestOptions } from '../types.js'; interface NormalizedRequestArgs { options: CoolhandRequestOptions | string | URL; callback?: TCallback; } /** * Normalizes http(s).request/get's two call shapes — (options[, callback]) * and (url[, options][, callback]) — into a single {options, callback} pair, * mirroring Node's own _normalizeArgs. Deliberately omits `href` from the * merged options so buildURL's hostname/port/path reconstruction reflects * any override in the options argument. */ declare function normalizeRequestArgs any>(urlOrOptions: CoolhandRequestOptions | string | URL, optionsOrCallback?: CoolhandRequestOptions | TCallback, callback?: TCallback): NormalizedRequestArgs; export { type NormalizedRequestArgs, normalizeRequestArgs };