/** * Safe rendering of user- or planner-supplied reference text (queries, names, * targets) in output. A reference that fell back to `message.content.text` can * be an entire rendered prompt — including the external-content security * envelope — and a planner-filled param can be an arbitrary blob; quoting * either verbatim re-broadcasts untrusted scaffolding to chat (live leak * 2026-08-02, tj-2dc95f75456876) or bloats planner context. The gate is a * shape property, not content sniffing: real names and queries are short * single-line strings, a rendered prompt never is. */ /** * Render a reference for user-facing text: quoted only when it is name-shaped * (non-empty, single line, ≤64 chars), otherwise the neutral `fallback` noun. */ export declare function describeUserReference(reference: string, fallback: string): string; /** Renders a bounded reference for diagnostics and containment-sensitive machine data. Never use this where the complete semantic value is required. */ export declare function userReferenceLogView(reference: string): string; /** * Normalize a complete audited reference without semantic shortening. Use only * when the caller has already separated trusted/user payload from hardened * wrapper text or explicitly intends to retain the supplied model value. */ export declare function completeUserReferenceView(reference: string): string;