/** * Set the proxy URL function used throughout the library. * @param {(url: string) => string} fn */ export function setProxyUrl(fn: (url: string) => string): void; /** * Get the proxied version of a URL. * @param {string} url * @returns {string} */ export function proxyUrl(url: string): string;