/** * TONL Browser Entry Point * * Browser-safe exports (excludes Node.js-specific features like fs, readline) */ export type { EncodeOptions, DecodeOptions } from "./types.js"; export type { TONLValue, TONLObject, TONLArray, TONLTypeHint, TONLDelimiter } from "./types.js"; import { encodeTONL as _encodeTONL } from "./encode.js"; import { decodeTONL as _decodeTONL } from "./decode.js"; import { parseTONLLine, parseHeaderLine, parseObjectHeader, detectDelimiter } from "./parser.js"; import { inferPrimitiveType, coerceValue, isUniformObjectArray } from "./infer.js"; export { _decodeTONL as decodeTONL, parseTONLLine, parseHeaderLine, parseObjectHeader, detectDelimiter, inferPrimitiveType, coerceValue, isUniformObjectArray }; /** * Preprocess JSON string to handle problematic characters in keys */ export declare function preprocessJSON(jsonString: string): any; /** Analyze a JSON value and choose the most compact text layout automatically. */ export declare function encodeSmart(input: any, opts?: { delimiter?: "," | "|" | "\t" | ";"; includeTypes?: boolean; version?: string; indent?: number; singleLinePrimitiveLists?: boolean; }): string; export declare const encodeTONL: typeof _encodeTONL; export { TONLDocumentBrowser as TONLDocument, type DocumentStats } from './document-browser.js'; export * from './query/index.js'; export * from './navigation/index.js'; //# sourceMappingURL=browser.d.ts.map