import type { RequestOptions as HTTPRequestOptions } from "http";
/**
 * Gets the url from the arguments of a node:http(s) outgoing request function call.
 */
export declare function getUrlFromHTTPRequestArgs(args: unknown[], module: "http" | "https"): URL | undefined;
/**
 * Request options can be provided as the first argument or as the second argument.
 * But thy can also be not provided at all.
 */
export declare function getRequestOptions(args: unknown[]): HTTPRequestOptions | undefined;
