/** * Core parsing utilities for TONL format */ import type { TONLDelimiter, TONLObjectHeader } from "./types.js"; /** * Parse a single TONL line into array of field values * Handles quoting, escaping, and triple-quotes according to spec * SECURITY: Now includes input validation limits (BF006) */ export declare function parseTONLLine(line: string, delimiter?: TONLDelimiter): string[]; /** * Parse TONL header lines (starting with #) */ export declare function parseHeaderLine(line: string): { key: string; value: string; } | null; /** * Parse object header like: users[2]{id:u32,name:str,role:str}: */ export declare function parseObjectHeader(line: string): TONLObjectHeader | null; /** * Detect delimiter from TONL content */ export declare function detectDelimiter(content: string): TONLDelimiter; //# sourceMappingURL=parser.d.ts.map