• File: xpath.d.ts
  • Full Path: /var/www/nodejs/callDir/node_modules/xpath/xpath.d.ts
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 625 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/// <reference lib="dom" />

type SelectedValue = Node | Attr | string | number | boolean;
interface XPathSelect {
    (expression: string, node?: Node): Array<SelectedValue>;
    (expression: string, node: Node, single: true): SelectedValue | undefined;
}
export var select: XPathSelect;
export function select1(expression: string, node?: Node): SelectedValue | undefined;
export function evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
export function useNamespaces(namespaceMap: { [name: string]: string }): XPathSelect;