export type Location = {
protocol: 'http:' | 'https:';
hostname: string;
port: string;
};
export declare function composeLocationUrl(location: Location, url?: string, props?: Record<string, string>): string;