/** * redact.ts: @homebridge-plugins/homebridge-cloudflared-tunnel. * * Debug logging prints the plugin configuration, and users are routinely asked * to enable debug logging and attach the result to a public GitHub issue. That * combination has already published a live account password, so secrets are * masked here before anything reaches the log. * * Masking deliberately preserves whether a value was SET, since "you have not * filled that field in" is one of the most common answers in support. */ /** * Deep-copy a value, replacing anything sensitive with a placeholder. * * The placeholders distinguish the three cases that matter when reading a log: * `` (set, hidden), `` (present but blank), and an absent key * (never configured). * * @param value - The value to redact. Usually the platform config. * @returns A redacted deep copy, safe to stringify into a log. */ export declare function redactConfig(value: unknown): unknown; //# sourceMappingURL=redact.d.ts.map