import type { WorkflowGraphModel } from "./workflow-graph-model.js";
/**
 * Parses a CNCF Serverless Workflow DSL 1.0.0 YAML string into a
 * {@link WorkflowGraphModel}.
 *
 * This handles the format stored in `status.serverlessWorkflowValidation.yaml`
 * and returned by the `getVersion` RPC as `validatedYaml`. The CNCF format
 * uses top-level `document` + `do` (array of single-key task entries) rather
 * than the Stigmer native `spec.document` + `spec.tasks` structure.
 *
 * @throws {Error} When the YAML is unparseable or lacks required structure.
 */
export declare function cncfYamlToGraph(yaml: string): WorkflowGraphModel;
/**
 * Detects whether a YAML string is in CNCF Serverless Workflow DSL format
 * (top-level `do` array) rather than Stigmer native format (top-level `spec`).
 */
export declare function isCncfWorkflowYaml(yaml: string): boolean;
//# sourceMappingURL=cncf-yaml-to-graph.d.ts.map