/** * `weft.system.registry` operation + REST binding. * * Returns a JSON snapshot of every locally-registered workflow and activity, * with their JSON Schemas. Powers the `weft codegen` CLI: a downstream * project fetches this document, validates it, and emits a `.d.ts` that * augments `WorkflowRegistry` with the locally-registered workflow names. * * Access is scoped to `system:read` — schemas can leak internal data shapes * so the endpoint sits behind the same scope as the JSON metrics endpoint. * * The actual snapshot assembly lives in {@link buildRegistrySnapshot} so the * MCP server (Section 2 of the roadmap) can reuse the builder without going * through HTTP. * * @module server/operations/get-registry */ import { z } from 'zod'; import { type RegistrySnapshot } from '../../core/registry-snapshot.ts'; import type { UnknownRestBinding } from '../rest-bindings.ts'; declare const getRegistryInput: z.ZodObject<{}, z.core.$strip>; export type GetRegistryInput = z.infer; export type GetRegistryOutput = RegistrySnapshot; export declare const getRegistryOperation: import("../operation-catalog.ts").OperationDefinition, RegistrySnapshot, unknown>; export declare const getRegistryRestBinding: UnknownRestBinding; export {};