import type { WorkflowDefinitionSummary } from "../api/client.js"; import { type WorkflowTaskOptions } from "./shared.js"; export interface WorkflowDefinitionsOptions extends WorkflowTaskOptions { /** * Override the content-tree root. Defaults to * `/sitecore/system/Workflows`. Useful for tenants with workflows * outside the standard location. */ root?: string; } export interface WorkflowDefinitionsResult { rootPath: string; workflows: WorkflowDefinitionSummary[]; } /** * List workflow definitions on the tenant. Walks * `/sitecore/system/Workflows` (or a custom `--root`), follows * Workflow-Folder items one level deep, and returns every item whose * template is `Workflow`. */ export declare const runWorkflowDefinitions: (options: WorkflowDefinitionsOptions) => Promise;