import type { JsonValue } from "../../workflows/model.js"; /** A Workflow, as both `list` and `get` answer it. The two agree on purpose: * `getDefinition` also carries the node graph, and handing a plugin the graph * would put the Workflow engine's own vocabulary into this contract. */ export interface PluginWorkflow { id: string; title: string; description: string | null; revision: number; enabled: boolean; updatedAt: string; } export interface PluginWorkflowRun { id: string; workflowId: string; status: string; startedAt: string; } export interface PluginHostWorkflows { /** One page of Workflows, at the repository's own default size. */ list(): PluginWorkflow[]; get(workflowId: string): PluginWorkflow; start(workflowId: string, input?: Record): Promise; } export declare function workflowVerbs(pluginId: string): PluginHostWorkflows; //# sourceMappingURL=workflows.d.ts.map