import type { Scenario, SpecScenarioKind } from './schema.js'; export interface SectionExtract { /** Lines of the section body (excluding the heading line). */ lines: string[]; /** 1-based line number of the `##` heading in the source. */ headingLine: number; } /** * Find a level-2 section by its heading text. Returns the lines after the heading * up to (but not including) the next `## ` heading or EOF, plus the heading's * absolute line number. Returns null if the heading is not present. */ export declare function findSection(source: string, heading: string): SectionExtract | null; export declare function parseScenarios(section: SectionExtract, kind: SpecScenarioKind): Scenario[]; //# sourceMappingURL=scenarios.d.ts.map