/** * Path expression parser for TONL query API * * Converts tokenized path expressions into Abstract Syntax Trees (AST) */ import { ParseOptions, ParseResult } from './types.js'; /** * Parse a path expression string into an AST * * @param input - The path expression string (e.g., "users[0].name" or "$..email") * @param options - Parse options * @returns Parse result with AST or error * * @example * ```typescript * const result = parsePath('users[?(@.age > 18)].name'); * if (result.success) { * console.log(result.ast); * } else { * console.error(result.error?.getFormattedMessage()); * } * ``` */ export declare function parsePath(input: string, options?: ParseOptions): ParseResult; //# sourceMappingURL=path-parser.d.ts.map