/** * Utility for redacting sensitive information from logs and displays */ /** * Check if a key name indicates sensitive data */ export declare function isSensitiveKey(key: string): boolean; /** * Redact a value if the key is sensitive * @param key - The environment variable or config key name * @param value - The value to potentially redact * @param redactedText - Text to show instead of the value (default: '********') * @returns Original value if not sensitive, redacted text if sensitive */ export declare function redactIfSensitive(key: string, value: string, redactedText?: string): string; /** * Redact sensitive values in an object * @param obj - Object with key-value pairs (e.g., environment variables) * @param redactedText - Text to show instead of sensitive values * @returns New object with sensitive values redacted */ export declare function redactSensitiveValues(obj: Record, redactedText?: string): Record; //# sourceMappingURL=redact-sensitive.d.ts.map