summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/cheerio/lib/esm/static.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/cheerio/lib/esm/static.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/cheerio/lib/esm/static.d.ts')
-rw-r--r--includes/external/addressbook/node_modules/cheerio/lib/esm/static.d.ts93
1 files changed, 0 insertions, 93 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio/lib/esm/static.d.ts b/includes/external/addressbook/node_modules/cheerio/lib/esm/static.d.ts
deleted file mode 100644
index 8c71d6b..0000000
--- a/includes/external/addressbook/node_modules/cheerio/lib/esm/static.d.ts
+++ /dev/null
@@ -1,93 +0,0 @@
-import type { BasicAcceptedElems } from './types.js';
-import type { CheerioAPI, Cheerio } from '.';
-import type { AnyNode, Document } from 'domhandler';
-import { CheerioOptions } from './options.js';
-/**
- * Renders the document.
- *
- * @param options - Options for the renderer.
- * @returns The rendered document.
- */
-export declare function html(this: CheerioAPI, options?: CheerioOptions): string;
-/**
- * Renders the document.
- *
- * @param dom - Element to render.
- * @param options - Options for the renderer.
- * @returns The rendered document.
- */
-export declare function html(this: CheerioAPI, dom?: BasicAcceptedElems<AnyNode>, options?: CheerioOptions): string;
-/**
- * Render the document as XML.
- *
- * @param dom - Element to render.
- * @returns THe rendered document.
- */
-export declare function xml(this: CheerioAPI, dom?: BasicAcceptedElems<AnyNode>): string;
-/**
- * Render the document as text.
- *
- * This returns the `textContent` of the passed elements. The result will
- * include the contents of `script` and `stype` elements. To avoid this, use
- * `.prop('innerText')` instead.
- *
- * @param elements - Elements to render.
- * @returns The rendered document.
- */
-export declare function text(this: CheerioAPI | void, elements?: ArrayLike<AnyNode>): string;
-/**
- * Parses a string into an array of DOM nodes. The `context` argument has no
- * meaning for Cheerio, but it is maintained for API compatibility with jQuery.
- *
- * @param data - Markup that will be parsed.
- * @param context - Will be ignored. If it is a boolean it will be used as the
- * value of `keepScripts`.
- * @param keepScripts - If false all scripts will be removed.
- * @returns The parsed DOM.
- * @alias Cheerio.parseHTML
- * @see {@link https://api.jquery.com/jQuery.parseHTML/}
- */
-export declare function parseHTML(this: CheerioAPI, data: string, context?: unknown | boolean, keepScripts?: boolean): AnyNode[];
-export declare function parseHTML(this: CheerioAPI, data?: '' | null): null;
-/**
- * Sometimes you need to work with the top-level root element. To query it, you
- * can use `$.root()`.
- *
- * @example
- *
- * ```js
- * $.root().append('<ul id="vegetables"></ul>').html();
- * //=> <ul id="fruits">...</ul><ul id="vegetables"></ul>
- * ```
- *
- * @returns Cheerio instance wrapping the root node.
- * @alias Cheerio.root
- */
-export declare function root(this: CheerioAPI): Cheerio<Document>;
-/**
- * Checks to see if the `contained` DOM element is a descendant of the
- * `container` DOM element.
- *
- * @param container - Potential parent node.
- * @param contained - Potential child node.
- * @returns Indicates if the nodes contain one another.
- * @alias Cheerio.contains
- * @see {@link https://api.jquery.com/jQuery.contains/}
- */
-export declare function contains(container: AnyNode, contained: AnyNode): boolean;
-interface WritableArrayLike<T> extends ArrayLike<T> {
- length: number;
- [n: number]: T;
-}
-/**
- * $.merge().
- *
- * @param arr1 - First array.
- * @param arr2 - Second array.
- * @returns `arr1`, with elements of `arr2` inserted.
- * @alias Cheerio.merge
- * @see {@link https://api.jquery.com/jQuery.merge/}
- */
-export declare function merge<T>(arr1: WritableArrayLike<T>, arr2: ArrayLike<T>): ArrayLike<T> | undefined;
-export {};
-//# sourceMappingURL=static.d.ts.map \ No newline at end of file