diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-11-17 23:25:29 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-11-17 23:25:29 +0100 |
commit | 953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch) | |
tree | 8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/external/addressbook/node_modules/cheerio/lib/load.d.ts | |
parent | 62a9199846b0c07c03218703b33e8385764f42d9 (diff) | |
download | pluralconnect-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/load.d.ts')
-rw-r--r-- | includes/external/addressbook/node_modules/cheerio/lib/load.d.ts | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio/lib/load.d.ts b/includes/external/addressbook/node_modules/cheerio/lib/load.d.ts deleted file mode 100644 index 49d1c84..0000000 --- a/includes/external/addressbook/node_modules/cheerio/lib/load.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -/// <reference types="node" /> -import { CheerioOptions, InternalOptions } from './options.js'; -import * as staticMethods from './static.js'; -import { Cheerio } from './cheerio.js'; -import type { AnyNode, Document, Element } from 'domhandler'; -import type { SelectorType, BasicAcceptedElems } from './types.js'; -declare type StaticType = typeof staticMethods; -/** - * A querying function, bound to a document created from the provided markup. - * - * Also provides several helper methods for dealing with the document as a whole. - */ -export interface CheerioAPI extends StaticType { - /** - * This selector method is the starting point for traversing and manipulating - * the document. Like jQuery, it's the primary method for selecting elements - * in the document. - * - * `selector` searches within the `context` scope which searches within the - * `root` scope. - * - * @example - * - * ```js - * $('.apple', '#fruits').text(); - * //=> Apple - * - * $('ul .pear').attr('class'); - * //=> pear - * - * $('li[class=orange]').html(); - * //=> Orange - * ``` - * - * @param selector - Either a selector to look for within the document, or the - * contents of a new Cheerio instance. - * @param context - Either a selector to look for within the root, or the - * contents of the document to query. - * @param root - Optional HTML document string. - */ - <T extends AnyNode, S extends string>(selector?: S | BasicAcceptedElems<T>, context?: BasicAcceptedElems<AnyNode> | null, root?: BasicAcceptedElems<Document>, options?: CheerioOptions): Cheerio<S extends SelectorType ? Element : T>; - /** - * The root the document was originally loaded with. - * - * @private - */ - _root: Document; - /** - * The options the document was originally loaded with. - * - * @private - */ - _options: InternalOptions; - /** Mimic jQuery's prototype alias for plugin authors. */ - fn: typeof Cheerio.prototype; - load: ReturnType<typeof getLoad>; -} -export declare function getLoad(parse: typeof Cheerio.prototype._parse, render: (dom: AnyNode | ArrayLike<AnyNode>, options: InternalOptions) => string): (content: string | AnyNode | AnyNode[] | Buffer, options?: CheerioOptions | null, isDocument?: boolean) => CheerioAPI; -export {}; -//# sourceMappingURL=load.d.ts.map
\ No newline at end of file |