/** * Keys inside a rule's pipeline config (step/postStep `config` objects, canonical or * authoring form) that hold a reference to a `pipeline_schemas` row id. Mirror of * `apps/backend/src/proxy-rules/schema-refs.util.ts:10-16` — kept as a separate, * independently-maintained copy in the CLI (no cross-repo imports). * * - `schemaId`: data_create, data_query, data_update, data_delete, db_aggregate, * file_upload, embed_store, vector_search * - `persist*SchemaId` / deprecated `conversationsSchemaId` / `messagesSchemaId`: ai handler */ export declare const SCHEMA_REF_KEYS: readonly ["schemaId", "persistMessagesSchemaId", "persistConversationsSchemaId", "conversationsSchemaId", "messagesSchemaId"]; /** * Recursively walks `value` (objects and arrays, at any depth) and invokes `visit` for * every *string* value found under a `SCHEMA_REF_KEYS` key. `visit` receives the * current ref string plus a `set` callback that replaces that value in place on the * walked structure (mutates `value`). * * A `SCHEMA_REF_KEYS` key whose value is not a string (e.g. `null`, a number) is left * alone — `visit` is not called for it — matching the backend's `typeof value === * 'string'` guard. */ export declare function walkSchemaRefs(value: unknown, visit: (ref: string, set: (v: string) => void) => void): void;