summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/domutils/lib/querying.d.ts
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
commit953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch)
tree8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/external/addressbook/node_modules/domutils/lib/querying.d.ts
parent62a9199846b0c07c03218703b33e8385764f42d9 (diff)
downloadpluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip
Updated 30 files and deleted 2976 files (automated)
Diffstat (limited to 'includes/external/addressbook/node_modules/domutils/lib/querying.d.ts')
-rw-r--r--includes/external/addressbook/node_modules/domutils/lib/querying.d.ts62
1 files changed, 0 insertions, 62 deletions
diff --git a/includes/external/addressbook/node_modules/domutils/lib/querying.d.ts b/includes/external/addressbook/node_modules/domutils/lib/querying.d.ts
deleted file mode 100644
index 3e2296a..0000000
--- a/includes/external/addressbook/node_modules/domutils/lib/querying.d.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import { Element, AnyNode } from "domhandler";
-/**
- * Search a node and its children for nodes passing a test function.
- *
- * @category Querying
- * @param test Function to test nodes on.
- * @param node Node to search. Will be included in the result set if it matches.
- * @param recurse Also consider child nodes.
- * @param limit Maximum number of nodes to return.
- * @returns All nodes passing `test`.
- */
-export declare function filter(test: (elem: AnyNode) => boolean, node: AnyNode | AnyNode[], recurse?: boolean, limit?: number): AnyNode[];
-/**
- * Search an array of node and its children for nodes passing a test function.
- *
- * @category Querying
- * @param test Function to test nodes on.
- * @param nodes Array of nodes to search.
- * @param recurse Also consider child nodes.
- * @param limit Maximum number of nodes to return.
- * @returns All nodes passing `test`.
- */
-export declare function find(test: (elem: AnyNode) => boolean, nodes: AnyNode[], recurse: boolean, limit: number): AnyNode[];
-/**
- * Finds the first element inside of an array that matches a test function.
- *
- * @category Querying
- * @param test Function to test nodes on.
- * @param nodes Array of nodes to search.
- * @returns The first node in the array that passes `test`.
- * @deprecated Use `Array.prototype.find` directly.
- */
-export declare function findOneChild<T>(test: (elem: T) => boolean, nodes: T[]): T | undefined;
-/**
- * Finds one element in a tree that passes a test.
- *
- * @category Querying
- * @param test Function to test nodes on.
- * @param nodes Array of nodes to search.
- * @param recurse Also consider child nodes.
- * @returns The first child node that passes `test`.
- */
-export declare function findOne(test: (elem: Element) => boolean, nodes: AnyNode[], recurse?: boolean): Element | null;
-/**
- * @category Querying
- * @param test Function to test nodes on.
- * @param nodes Array of nodes to search.
- * @returns Whether a tree of nodes contains at least one node passing the test.
- */
-export declare function existsOne(test: (elem: Element) => boolean, nodes: AnyNode[]): boolean;
-/**
- * Search and array of nodes and its children for elements passing a test function.
- *
- * Same as `find`, but limited to elements and with less options, leading to reduced complexity.
- *
- * @category Querying
- * @param test Function to test nodes on.
- * @param nodes Array of nodes to search.
- * @returns All nodes passing `test`.
- */
-export declare function findAll(test: (elem: Element) => boolean, nodes: AnyNode[]): Element[];
-//# sourceMappingURL=querying.d.ts.map \ No newline at end of file