/** * Redact known secret shapes from a single string. Applies every pattern in * order (specific before generic). Returns the string unchanged when it holds * no secrets. Safe on empty / non-secret prose. */ export declare function redactSecrets(text: string): string; /** * Deep-redact every STRING value inside an object/array, leaving structure and * KEYS intact. Hook events forwarded to the office are objects (not flat * strings) — their tool_input.command, tool_response, message text, etc. can * each carry a secret — so we walk the whole value and run `redactSecrets` on * every string leaf. Non-string leaves (numbers, booleans, null) pass through * untouched. Returns a NEW value; the input is not mutated. */ export declare function redactDeep(value: T): T;