import type { BddScenario, BddStep, LeanCriterion } from '../../types/index.js';
export type { BddScenario, BddStep };
/**
 * Parses Gherkin-style blocks from a markdown string.
 *
 * Recognises:
 *   Scenario: <title>
 *     Given ...
 *     When ...
 *     Then ...
 *     And ...
 *     But ...
 */
export declare function parseBddScenarios(markdown: string): BddScenario[];
/**
 * Converts an array of BddScenario objects into YAML lines for the frontmatter.
 *
 * Output format:
 *   scenarios:
 *     - title: "..."
 *       done: false
 *       steps:
 *         - keyword: given
 *           text: "..."
 */
export declare function renderBddScenariosYaml(scenarios: BddScenario[]): string[];
/**
 * Converts checkbox-style criteria into BDD scenarios.
 * Generates a full GIVEN/WHEN/THEN structure instead of THEN-only.
 * Plain text criteria get a generic GIVEN (system context) and WHEN (action trigger)
 * so scenarios are always structurally valid BDD.
 */
export declare function convertCheckboxToBdd(criteria: LeanCriterion[]): BddScenario[];
//# sourceMappingURL=bdd-parser.d.ts.map