type OSServices = "xyz" | "vectorTile" | "vectorTileStyle" | "places" | "features"; interface ServiceOptions { service: OSServices; apiKey: string; proxyEndpoint: string; params?: Record; } export declare function constructURL(domain: string, path: string, params?: Record): string; export declare function getOSServiceURL({ service, apiKey, params, }: Omit): string; /** * Generate a proxied OS service URL * XXX: OS API key must be appended to requests by the proxy endpoint */ export declare function getProxyServiceURL({ service, proxyEndpoint, params, }: Omit): string; /** * Get either an OS service URL, or a proxied endpoint to an OS service URL */ export declare function getServiceURL({ service, apiKey, proxyEndpoint, params, }: ServiceOptions): string; export {};