/** Removes credentials, query parameters, and fragments from a URL used in diagnostics. */
export declare function sanitizeSocketModeUrl(value: string): string;
/**
 * Removes Socket Mode credentials from diagnostic text before it reaches logs
 * or caller-visible errors.
 *
 * @param value Diagnostic text that may contain a credential.
 * @param secrets Exact credential values known by the caller.
 * @returns Diagnostic text with bearer tokens and sensitive fields redacted.
 */
export declare function redactSocketModeSecrets(value: string, secrets?: readonly string[]): string;
