import { AStepper } from '../lib/astepper.js'; import { TActionExecutor } from './withAction.js'; type TkirejiFeature = { [key: string]: (TActionExecutor | string)[]; }; export type TBddWithLineMap = { content: string; lineMap: Map; }; /** * Converts a Kireji feature object into a BDD formatted string. * It iterates through the feature's steps, executing any functional steps to get their GWTA string, * and mapping the resulting lines to the original step indices for source tracking. */ export declare const toBdd: (feature: TkirejiFeature) => TBddWithLineMap; /** * Converts a BDD formatted string back into a Kireji feature object. * This function parses the string to extract the feature name and steps, * then uses the provided steppers to resolve each step prose back to a * functional action with arguments. */ export declare const fromBdd: (bdd: string, steppers: AStepper[]) => Promise; export {}; //# sourceMappingURL=converter.d.ts.map