/** * Scenario Parser * * Reads OpenSpec spec files and extracts ParsedScenario objects. * Extends openloreGetSpecRequirements to also parse the full G/W/T structure * from each "#### Scenario:" block within requirement sections. * * Mapping enrichment: * If .openlore/analysis/mapping.json exists, each scenario is enriched with * FunctionRef[] for the matching requirement (confidence ≥ heuristic). */ import type { ParsedScenario } from '../../types/test-generator.js'; /** Slugify a string to kebab-case for file names */ export declare function toKebabCase(str: string): string; /** * Parse all scenarios from OpenSpec spec files. * * @param opts.rootPath Project root (default: process.cwd()) * @param opts.domains If set, only parse these domains * @param opts.excludeDomains Skip these domains even if included above * @param opts.tags If set, only include scenarios that carry ALL these tags * @param opts.limit Maximum number of scenarios to return (applied after filters) * @param opts.includeSkipped If true, include scenarios marked skip=true (default: false) */ export declare function parseScenarios(opts: { rootPath?: string; domains?: string[]; excludeDomains?: string[]; tags?: string[]; limit?: number; includeSkipped?: boolean; }): Promise; //# sourceMappingURL=scenario-parser.d.ts.map