/** * Arazzo YAML Parser * * Parses Arazzo 1.0.1 YAML workflow files into a typed AST. * Validates required fields and resolves source description paths. */ import type { ArazzoDocument, ParsedWorkflow, WorkflowObject } from './types.js'; export declare class ArazzoParserError extends Error { filePath: string; context?: string | undefined; constructor(message: string, filePath: string, context?: string | undefined); } /** * Parse a single Arazzo YAML file into a typed AST. */ export declare function parseArazzoFile(filePath: string): ParsedWorkflow; /** * Parse multiple Arazzo YAML files. */ export declare function parseArazzoFiles(filePaths: string[]): ParsedWorkflow[]; /** * Parse Arazzo YAML content from a string (useful for testing). */ export declare function parseArazzoContent(content: string, virtualPath?: string): ParsedWorkflow; /** * Extract all unique operationIds referenced across all workflows in a document. */ export declare function extractOperationIds(doc: ArazzoDocument): string[]; /** * Extract all runtime expressions used in a workflow's outputs and step outputs. */ export declare function extractExpressions(workflow: WorkflowObject): string[]; /** * Get the source name and operation name from a qualified operationId. * e.g., "resourceServer.create-incoming-payment" → ["resourceServer", "create-incoming-payment"] */ export declare function splitOperationId(operationId: string): [string, string]; //# sourceMappingURL=arazzo-parser.d.ts.map