export declare const REDACTED = "[REDACTED]"; /** * Short values (e.g. `"1"`, `"true"`) would over-redact unrelated substrings. */ export declare const MIN_REDACTABLE_SECRET_LENGTH = 8; /** * Redact explicitly-known secret values by exact match, regardless of length. * Unlike {@link redactSecrets}, there is no minimum-length gate: callers pass * values they *know* are secret (e.g. resolved BYOK provider credentials), so * redacting even a short value is correct rather than over-eager. Matched * longest-first so a secret that prefixes another leaves no tail behind. */ export declare function redactExactSecrets(text: string, secrets?: readonly string[]): string; /** * Best-effort redaction of token-like secrets in captured agent output. * `extraSecrets` are matched longest-first so a secret that prefixes another * leaves no tail behind. */ export declare function redactSecrets(text: string, extraSecrets?: readonly string[]): string; //# sourceMappingURL=redact-secrets.d.ts.map