/** * Block-level parsing - handles multi-line structures */ import type { TONLParseContext, TONLValue, TONLObject, TONLArray, TONLObjectHeader } from '../types.js'; /** * Parse a block starting from a header * Dispatches to parseObjectBlock or parseArrayBlock based on header type * * SECURITY FIX (SEC-002): Added recursion depth limiting to prevent stack overflow */ export declare function parseBlock(header: TONLObjectHeader | null, lines: string[], startIndex: number, context: TONLParseContext): TONLValue; /** * Parse an object block - handles nested objects and key-value pairs * * SECURITY FIX (Task 001): Added block line limit check */ export declare function parseObjectBlock(header: TONLObjectHeader | null, lines: string[], context: TONLParseContext): TONLObject; /** * Parse an array block - handles both primitive and object arrays * * SECURITY FIX (Task 001): Added block line limit check */ export declare function parseArrayBlock(header: TONLObjectHeader | null, lines: string[], context: TONLParseContext): TONLArray; //# sourceMappingURL=block-parser.d.ts.map