/**
 * WorkflowParser — load + validate workflow YAML documents.
 *
 * Reads either a YAML string or a file path; returns a structured
 * { ok, workflow?, errors[] } result. Never throws on user input — the
 * worst case is `ok: false` with a list of stable error codes.
 *
 * Story 4.1 — OpenLife v1.2 Royal Stack.
 */
import { WorkflowParseResult } from './WorkflowSchema';
/**
 * Parse a YAML string into a validated Workflow. Returns a structured
 * result; never throws.
 */
export declare function parseWorkflow(yamlContent: string): WorkflowParseResult;
/**
 * Parse a workflow YAML file from disk. Returns the same result shape as
 * parseWorkflow().
 */
export declare function parseWorkflowFile(filePath: string): WorkflowParseResult;
