import type { WorkflowCommandSummary } from "../api/client.js"; import { type WorkflowTaskOptions } from "./shared.js"; export interface WorkflowCommandsOptions extends WorkflowTaskOptions { /** Item GUID or content-tree path. */ item: string; } export interface WorkflowCommandsResult { itemId: string; path: string | null; workflowId: string; commands: WorkflowCommandSummary[]; } /** * List the workflow commands available on an item at its current state. * Returns `null` if the item is not under workflow. * * Lighter-weight counterpart to `runWorkflowGet` for callers that * only want the transitions — e.g. wiring an `advance` flow with a * fuzzy-pick UI. */ export declare const runWorkflowCommands: (options: WorkflowCommandsOptions) => Promise;