export declare function setSearchParams(url: URL, params: {
    [key: string]: string | undefined | null;
}): void;
/**
 * Redacts sensitive data from a URL for logging purposes.
 * Shows parameter names but redacts their values to aid troubleshooting
 * while protecting PII, tokens, and other sensitive information.
 *
 * @param url - The URL to redact (can be a string or URL object)
 * @returns The redacted URL with parameter names visible but values hidden
 *
 * @example
 * redactUrlForLogging("https://example.com/path?token=secret&code=abc#id_token=jwt")
 * // Returns: "https://example.com/path?token=[REDACTED]&code=[REDACTED]#[REDACTED]"
 */
export declare function redactUrlForLogging(url: string | URL): string;
