diff --git a/xpath.d.ts b/xpath.d.ts index 9d1a734..0b17f44 100644 --- a/xpath.d.ts +++ b/xpath.d.ts @@ -11,6 +11,9 @@ export interface XPathSelect { (expression: string, node: Node, single: true): SelectSingleReturnType; } +export function evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult; +export const XPathResult: XPathResult; + /** * Evaluate an XPath expression against a DOM node. */