/** * Parser utility functions */ import type { TONLParseContext } from '../types.js'; /** * Extract lines belonging to a nested block starting from a header line * @param lines All lines in the content * @param startIndex Index of the header line * @returns Lines belonging to the nested block (excluding the header) */ export declare function extractNestedBlockLines(lines: string[], startIndex: number): string[]; /** * Find the index of the next header at the same or higher level * @param lines All lines in the content * @param currentIndex Current line index * @param context Parse context * @returns Index of the next header, or lines.length if none found */ export declare function findNextHeader(lines: string[], currentIndex: number, context: TONLParseContext): number; //# sourceMappingURL=utils.d.ts.map