/** * Mask sensitive values for logging/display * @param value The value to mask * @param showLength Whether to include the length of masked value * @returns Masked string representation */ export declare function maskSensitiveValue(value: string, showLength?: boolean): string; /** * Check if a property name should be considered sensitive * @param propertyName The name of the property to check * @returns Whether the property should be masked */ export declare function isSensitiveProperty(propertyName: string): boolean; /** * Create a sanitized copy of an object with sensitive values masked * @param obj Object containing potentially sensitive information * @returns Safely sanitized copy for logging */ export declare function sanitizeObjectForLogging(obj: Record): Record; /** * Safely log configuration without exposing sensitive values * @param message Log message * @param config Configuration object with potentially sensitive values * @param level Optional log level, defaults to 'info' */ export declare function logConfigSafely(message: string, config: Record, level?: 'debug' | 'info' | 'warn' | 'error'): void; /** * Redact sensitive information from error messages * @param message Error message that may contain sensitive information * @returns Redacted message */ export declare function redactSensitiveInfoFromErrorMessage(message: string): string;