export type LocalExcelHttpUrl = string & {
    readonly __localExcelHttpUrl: unique symbol;
};
/**
 * Normalize the Excel XLL base URL and reject anything that is not loopback HTTP.
 * Returning `origin` strips any path/query/fragment before callers append fixed endpoints.
 */
export declare function requireLocalExcelHttpUrl(httpUrl: string): LocalExcelHttpUrl;
/**
 * Normalize a full Excel XLL request URL and reject anything that is not loopback HTTP.
 * Unlike `requireLocalExcelHttpUrl`, this preserves the request path/query/fragment.
 */
export declare function requireLocalExcelHttpRequestUrl(httpUrl: string): LocalExcelHttpUrl;
export declare function parseExcelHttpPort(value: string | number): number;
export declare function buildLocalExcelHttpUrl(port: string | number): LocalExcelHttpUrl;
//# sourceMappingURL=http-url.d.ts.map