/// <reference types="node" />
import { RequestOptions } from 'https';
export interface RequestSelf {
    uri?: URL;
}
export declare type ResolvedRequestOptions = RequestOptions & RequestSelf;
export declare const DEFAULT_PATH = "/";
/**
 * Creates a `URL` instance from a given `RequestOptions` object.
 */
export declare function getUrlByRequestOptions(options: ResolvedRequestOptions): URL;
