/**
 * Workflow Parser
 * Parses YAML workflow files into typed Workflow objects
 */
import { Workflow } from '../types/workflow';
import { ExtendedWorkflow } from './extended-workflow-schema';
/**
 * Workflow parse result with optional extended schema
 */
export interface WorkflowParseResult {
    workflow: Workflow;
    extendedWorkflow?: ExtendedWorkflow;
}
export declare class WorkflowParser {
    private referenceResolver;
    constructor();
    /**
     * Parse a workflow file from disk
     */
    parseFile(filePath: string): Promise<WorkflowParseResult>;
    /**
     * Parse a workflow from a YAML string
     * Detects and parses both event-driven and extended workflow schemas
     */
    parseString(yamlContent: string, source?: string): Promise<WorkflowParseResult>;
    /**
     * Parse multiple workflow files from a directory
     */
    parseDirectory(dirPath: string): Promise<WorkflowParseResult[]>;
    /**
     * Get all files referenced by a workflow file (for dependency tracking)
     */
    getReferencedFiles(filePath: string): string[];
}
//# sourceMappingURL=workflow-parser.d.ts.map