import { F as FunctionXdo } from './response-CVAE2kMj.js'; export { a as FIELD_METHODS, R as REFERENCEABLE_KINDS, d as deriveGuid, e as encodeResponse, b as encodeStatement, g as getStatementFactory, i as isRegisteredStatement, r as resolveRef, t as toNestedFields } from './response-CVAE2kMj.js'; import { S as StatementSpec, F as FunctionDef, O as ObjectKind } from './store-BXvaP8fk.js'; export { A as AdoptChange, a as AdoptResult, B as Bundle, b as BundlePayload, c as BundleType, d as FILTER_NAMES, G as GENERATED_STATEMENT_NAMES, L as LLMS_TXT, e as LOCK_VERSION, f as LockEntry, g as LockExportContext, h as LockFile, M as Manifest, i as ManifestField, j as ManifestKind, k as ManifestStatement, l as MergeResult, P as PAYLOAD_ARRAY_KEYS, m as PayloadArrayKey, Q as QUERY_EXPRESSION_FILTERS, R as RenameResult, T as TOTAL_OBJECT_KINDS, V as VECTOR_FILTERS, W as WORKSPACE_KEY, n as addonKind, o as adoptFromBundle, p as agentKind, q as apiGroupKind, r as buildBundle, s as buildManifest, t as buildMiddlewareBlock, u as buildWorkspaceHistory, v as calcSignatureJson, w as channelPathParams, x as createLockContext, y as declaredServicePorts, z as emptyLock, C as encodeAddon, D as encodeAgent, E as encodeApiGroup, H as encodeColumn, I as encodeContainerHistory, J as encodeFromSpec, K as encodeHistory, N as encodeIndex, U as encodeMcpServer, X as encodeMicroservice, Y as encodeMiddleware, Z as encodeMiddlewareEntry, _ as encodeMiddlewareList, $ as encodeObject, a0 as encodeQuery, a1 as encodeRealtimeChannel, a2 as encodeRealtimeMessage, a3 as encodeRealtimeServer, a4 as encodeSchedule, a5 as encodeTable, a6 as encodeTask, a7 as encodeTool, a8 as encodeToolRefs, a9 as encodeToolsetBase, aa as encodeTrigger, ab as encodeView, ac as encodeWorkflowTest, ad as encodeWorkspaceConfig, ae as generatedStatements, af as getKind, ag as getLockedCanonical, ah as getLockedGuid, ai as isLockSeeded, aj as isQueryExpressionFilter, ak as isRegisteredKind, al as lockKey, am as mcpServerKind, an as mergeObserved, ao as microserviceKind, ap as middlewareKind, aq as mintCanonical, ar as parseLock, as as phpJsonEncode, at as queryKind, au as realtimeChannelGuid, av as realtimeChannelKind, aw as realtimeMessageGuid, ax as realtimeMessageKind, ay as realtimeServerKind, az as recordObserved, aA as registerKind, aB as registerSpec, aC as registeredKinds, aD as renameLockEntry, aE as renderDocs, aF as renderLlmsTxt, aG as resolveAuthRef, aH as resolvePayloadKey, aI as resolveRealtimeServerCanonical, aJ as resolveToolsetCanonical, aK as serializeBundle, aL as serializeLock, aM as tableKind, aN as taskKind, aO as toolKind, aP as triggerKind, aQ as validateLockModel, aR as workflowTestKind, aS as workspaceKind } from './store-BXvaP8fk.js'; /** * AUTO-GENERATED by scripts/codegen.ts — DO NOT EDIT BY HAND. * * The declarative statement catalog (U9): one StatementSpec per cleanly * interpretable statement schema, generated from the Xano engine's statement * schema definitions. The engine-only `output` flag is pinned from the * persisted golden fixtures (KTD-4). Regenerate with `npm run codegen`. * * Coverage: 153 declarative statements generated. * Deferred (see PENDING.md): 63. */ declare const GENERATED_SPECS: StatementSpec[]; /** * The `function` object kind (KTD-2). This is the MVP's `compile()` envelope * logic, re-homed as the first registered kind. Behavior is unchanged — the * MVP golden test is the regression guard. */ /** Encode a `FunctionDef` into the flattened importable function `xdo`. */ declare function encodeFunction(fn: FunctionDef): FunctionXdo; declare const functionKind: ObjectKind; /** * The canonical statement authoring-surface catalog — one entry per engine * statement schema, mapping the surface key to its stored `mvp:` name. This is * SDK metadata (it drives the agent-grounding manifest and the coverage report), * so it lives in `src` rather than the test tree. * * A key normally mirrors the engine's own statement-schema filename, which * keeps this catalog checkable against the engine one line at a time. One entry * deliberately does not: `microservice.request` is stored as * `mvp:microservice_request` and the engine files its schema under the `api` * namespace, but a microservice is a first-class workspace object here — with * its own def factory and deploy path — so its call statement is filed beside * it. The same decision is recorded as a `NAMESPACE_OVERRIDES` entry in * `scripts/codegen.ts`, which is what keeps the generated factory tree in * agreement with this key. * * A second entry does the same: `lambda` is stored as `mvp:lambda` and the * engine files its schema under the `api` namespace, but a lambda runs wherever * a stack runs — in functions, tasks, middleware, and triggers, not only APIs — * so filing it under `s.api.*` said something false about where it is available * (issue #221). It is `s.lambda`, with the matching `NAMESPACE_OVERRIDES` entry. * * One surface-pair shares a stored name (so the catalog has one fewer unique * stored name than surfaces): `util.get_raw_input`/`util.get_input` → * `mvp:get_input`. * * `raw()` (from `@xanots/core/codegen`) is deliberately **not** in this catalog * and not under `s.`: it is a verbatim passthrough for stored statements the * catalog cannot model, emitted by codegen, not authored by hand. */ /** Every engine statement schema file → its stored `mvp:` name. */ declare const STATEMENT_SURFACES: ReadonlyArray; /** Total authoring surfaces (= engine statement schema file count). */ declare const TOTAL_STATEMENTS: number; /** Statement authoring surfaces (by schema key). */ declare const IMPLEMENTED_STATEMENTS: string[]; /** * The dotted `s.` authoring path for a surface key — e.g. `array.filter` → * `array.filter` (reachable as `s.array.filter`), `stack|expect.to_equal` → * `expect.to_equal`, `var` → `set_var`. Verified against the live `s` tree by * the manifest test. */ declare function sPathOf(surfaceKey: string): string; export { GENERATED_SPECS, IMPLEMENTED_STATEMENTS, ObjectKind, STATEMENT_SURFACES, TOTAL_STATEMENTS, encodeFunction, functionKind, sPathOf };