/** * Shared entity/proposal id shape helpers. * * The pod's ids are UUIDs. Never truncate an id that the user or an agent is * expected to feed back into another command (`synap get entity `, * `synap proposals approve `, …) — an 8-char prefix round-trips to a * 500 on the pod (it isn't a valid UUID). Truncate only in purely decorative * confirmations where the id itself was already supplied by the caller. */ export declare const UUID_RE: RegExp; export declare function isUuid(v: string): boolean; /** True for a bare 8 hex-char string — the shape ids used to be printed in before this fix. */ export declare function looksTruncated(v: string): boolean; /** * Fail fast, client-side, when a CLI argument that must be a full id isn't * one — a malformed id sent to the pod comes back as an opaque 500 (SQL type * mismatch), not a clean 404. Prints an error + a recovery hint and exits(1). */ export declare function requireFullId(id: string, kind: string, chalk: { red: (s: string) => string; }, log: { hint: (s: string) => void; }): void;