import { ASTNode } from './types';
/** Parse a single line (after indent stripping) into an ASTNode-like object. */
export declare function parseLine(raw: string, line: number, indent: number): ASTNode;
/** Parse all lines and build indentation-based AST tree. */
export declare function parseProgram(source: string): ASTNode[];
/** Collect all func definitions from AST (first pass). */
export declare function collectFuncs(ast: ASTNode[]): Map<string, ASTNode>;
/** Interpolate ${var} references in a description string. */
export declare function interpolate(text: string, variables: Record<string, unknown>): string;
/** Count estimated tasks in AST (loop N multiplied, for counted as 1x). */
export declare function estimateTasks(ast: ASTNode[], loopMultiplier?: number): number;
//# sourceMappingURL=parser.d.ts.map