///
import type { IncomingMessage } from 'http';
/**
*
* @description Get the origin URL of your Next.js app (and optionally set a dev url)
* @param headers Headers obtained from request in getServerSideProps
* @param localhostAddress Dev url
*/
export declare function getOriginURL(headers?: Record, localhostAddress?: string): URL;
export declare function getRequestHeaders(request?: IncomingMessage): {
[k: string]: string | string[] | null;
};