/** * Base parser utilities * * @packageDocumentation */ import type { ParseResult, ParseOptions, ParseStats, LearningObjective, ParseFormat } from '../types/parser.js'; /** * Default parse options */ export declare const DEFAULT_PARSE_OPTIONS: Required; /** * Extract estimated time from text */ export declare function extractTime(text: string): number | undefined; /** * Detect if a line is a learning objective */ export declare function isObjectiveLine(line: string, markers: string[]): boolean; /** * Clean and normalize text */ export declare function cleanText(text: string): string; /** * Generate a skill name from an objective */ export declare function objectiveToSkillName(objective: string): string; /** * Create a learning objective from text */ export declare function createObjective(text: string, section?: string, week?: number): LearningObjective; /** * Create empty parse result */ export declare function createEmptyResult(source: string, format: ParseFormat): ParseResult; /** * Calculate parse statistics */ export declare function calculateStats(result: ParseResult, startTime: number): ParseStats; //# sourceMappingURL=base.d.ts.map