/** * Secret redaction. Applied to every error message, rendered tool output, * approval-gate reason and command result so an API key can never reach the * model, the session log or the screen. * * @module dsh-realtimeavatar/redact */ /** * Redact secrets from free text: every exact `known` value first, then any * key-shaped token and any bearer header value. Idempotent. */ export declare function redactSecrets(text: string, known?: readonly string[]): string; /** Message of any thrown value, redacted. */ export declare function safeMessage(error: unknown, known?: readonly string[]): string;