/**
 * Step File Parser for MSSCI-12079
 *
 * Parses step files in stepped workflows, extracting metadata from
 * <step-meta> YAML blocks and detecting gate markers.
 */
/**
 * Parsed step data extracted from a step file
 */
export interface ParsedStep {
    /** Step number (from meta or filename) */
    number: number;
    /** Step name/slug (from meta or filename) */
    name: string;
    /** Whether this step has a gate checkpoint */
    gate: boolean;
    /** Full markdown content (excluding step-meta block) */
    content: string;
    /** Raw step-meta YAML if present */
    meta?: Record<string, unknown>;
}
/**
 * Result of parsing a step file
 */
export interface StepParseResult {
    success: boolean;
    step?: ParsedStep;
    error?: string;
}
/**
 * Parse a step file from its content
 *
 * @param content - The raw markdown content of the step file
 * @param filename - Optional filename for fallback extraction (e.g., "step-03-design.md")
 * @returns StepParseResult with parsed step or error
 */
export declare function parseStepFile(content: string, filename?: string): StepParseResult;
/**
 * Parse a step file from a file path
 *
 * @param filePath - Absolute or relative path to the step file
 * @returns Promise<StepParseResult> with parsed step or error
 */
export declare function parseStepFromPath(filePath: string): Promise<StepParseResult>;
//# sourceMappingURL=step-parser.d.ts.map