export declare function toSafeRedirect(dangerousRedirect: string, safeBaseUrl: URL): URL | undefined; /** * Checks if a string is a valid HTTP or HTTPS URL. * @param url The string to check. * @returns True if the string is a valid http/https URL, false otherwise. */ export declare function isUrl(url: string): boolean;