/** * @file * Proxies most of the fontoxpath methods and fixes some of the typing around it. Also, XPath errors * will no longer have a stack trace pointing to the (minified) fontoxpath internals, but instead * tell you where the query was run from. */ import fontoxpath from 'fontoxpath'; export type { INodesFactory } from 'fontoxpath'; export declare const XQUERY_3_1_LANGUAGE: fontoxpath.Language.XQUERY_3_1_LANGUAGE; export declare function evaluateXPath(...[query, node, domFacade, variables, returnType, options]: Parameters): any; export declare function evaluateXPathToArray(...[query, node, domFacade, variables, options]: Parameters): any[]; export declare function evaluateXPathToMap

>(...[query, node, domFacade, variables, options]: Parameters): P; export declare function evaluateXPathToFirstNode(...[query, node, domFacade, variables, options]: Parameters): Node | null; export declare function evaluateXPathToNodes(...[query, node, domFacade, variables, options]: Parameters): Node[]; export declare function evaluateXPathToBoolean(...[query, node, domFacade, variables, options]: Parameters): boolean; export declare function evaluateXPathToNumber(...[query, node, domFacade, variables, options]: Parameters): number; export declare function evaluateXPathToString(...[query, node, domFacade, variables, options]: Parameters): string;