import { type WorkflowsStatistics } from "../../sites/api/sites.js"; import { type WorkflowTaskOptions } from "./shared.js"; export interface WorkflowStatusOptions extends WorkflowTaskOptions { /** Site ID to fetch workflow rollup for. Required. */ site: string; /** * Optional Content Services environment identifier (e.g. "main"). * Defaults to the API's server-side default when unset. */ contentEnvironmentId?: string; } export interface WorkflowStatusResult { siteId: string; statistics: WorkflowsStatistics; } /** * Fetch the per-site workflow rollup (workflows + states + page counts) * from the XM Apps REST API. Backed by * `/api/v1/sites/{siteId}/statistics/workflow`. */ export declare const runWorkflowStatus: (options: WorkflowStatusOptions) => Promise;