/**
 * Helper which tests if a URL can safely be redirected to. Requires the URL to be relative.
 *
 * @param dangerousRedirect
 * @param safeBaseUrl
 */
export default function toSafeRedirect(dangerousRedirect: string, safeBaseUrl: URL): string | undefined;
//# sourceMappingURL=url-helpers.d.ts.map