/** * Masks credentials in a connection URL: userinfo and any secret-looking query * parameter. Returns the input unchanged when it does not parse as a URL. */ export declare function redactConnectionUrl(url: string): string; /** Masks every header value whose name carries credentials. */ export declare function redactHeaders(headers: Record | undefined): Record; /** Masks `token=`, `apikey=`, `user:pass@` and friends inside a config blob. */ export declare function redactConnectionUrlsInText(text: string): string; //# sourceMappingURL=redact.d.ts.map