/// <reference types="node" resolution-mode="require"/>
import { URL } from 'node:url';
export type URLOptions = {
    href?: string;
    protocol?: string;
    host?: string;
    hostname?: string;
    port?: string | number;
    pathname?: string;
    search?: string;
    searchParams?: unknown;
    path?: string;
};
export default function optionsToUrl(origin: string, options: URLOptions): URL;
