/** * Lower-level parsing utilities for document extraction. * Feature #3: Built-in Helper Functions (extractors layer) * * These are pure functions used by helpers.ts for parsing markdown, YAML, and Gherkin. */ /** * Parse markdown headers from content. * Returns array of headers with level (1-6), text, and line number (1-indexed). * * @param content - Markdown content * @returns Array of header objects */ export declare function parseMarkdownHeaders(content: string): { level: number; text: string; line: number; }[]; /** * Parse YAML frontmatter from content. * Frontmatter must be at the very start of the file (no leading whitespace). * Returns parsed YAML object or null if no valid frontmatter found. * Uses FrontmatterHandler for robust parsing (supports Obsidian properties). * * @param content - Content with optional YAML frontmatter * @returns Parsed YAML object or null */ export declare function parseYamlFrontmatter(content: string): Record | null; /** * Parse Gherkin scenarios from content. * Returns array of scenarios with name and steps array. * * @param content - Content containing Gherkin scenarios * @returns Array of scenario objects */ export declare function parseGherkinScenarios(content: string): { name: string; steps: string[]; }[]; //# sourceMappingURL=extractors.d.ts.map