/** * `weft.workflows.active.get` operation + REST binding. * * Returns the currently active revision pointer for one workflow name. * Named `active.get` rather than `revisions.getActive` — `OPERATION_NAME_PATTERN` * forbids camelCase wire segments, and `getActive` is only this namespace * method's TypeScript name (`engine.workflows.getActive`). * * In-memory only: matches `RegistrySnapshot.activeRevisions`' existing * staleness contract exactly (see `engine-workflows-namespace.ts`'s * `getActive` JSDoc), which is what makes "operations and the registry * snapshot agree" true by construction. * * @module server/operations/get-active-workflow-revision */ import { z } from 'zod'; import type { WorkflowCatalogActivePointer } from '../../core/catalog/index.ts'; import type { UnknownRestBinding } from '../rest-bindings.ts'; declare const getActiveWorkflowRevisionInput: z.ZodObject<{ name: z.ZodUnknown; }, z.core.$strip>; export type GetActiveWorkflowRevisionInput = z.infer; export type GetActiveWorkflowRevisionOutput = WorkflowCatalogActivePointer; export declare const getActiveWorkflowRevisionOperation: import("../operation-catalog.ts").OperationDefinition<{ name: unknown; }, Readonly<{ revision: string; generation: number; activatedAt: number; }>, unknown>; export declare const getActiveWorkflowRevisionRestBinding: UnknownRestBinding; export {};