diff options
Diffstat (limited to 'includes/external/addressbook/node_modules/cheerio/lib/esm/parse.d.ts')
-rw-r--r-- | includes/external/addressbook/node_modules/cheerio/lib/esm/parse.d.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio/lib/esm/parse.d.ts b/includes/external/addressbook/node_modules/cheerio/lib/esm/parse.d.ts new file mode 100644 index 0000000..ff5c9c6 --- /dev/null +++ b/includes/external/addressbook/node_modules/cheerio/lib/esm/parse.d.ts @@ -0,0 +1,19 @@ +/// <reference types="node" /> +import { AnyNode, Document, ParentNode } from 'domhandler'; +import type { InternalOptions } from './options.js'; +/** + * Get the parse function with options. + * + * @param parser - The parser function. + * @returns The parse function with options. + */ +export declare function getParse(parser: (content: string, options: InternalOptions, isDocument: boolean, context: ParentNode | null) => Document): (content: string | Document | AnyNode | AnyNode[] | Buffer, options: InternalOptions, isDocument: boolean, context: ParentNode | null) => Document; +/** + * Update the dom structure, for one changed layer. + * + * @param newChilds - The new children. + * @param parent - The new parent. + * @returns The parent node. + */ +export declare function update(newChilds: AnyNode[] | AnyNode, parent: ParentNode | null): ParentNode | null; +//# sourceMappingURL=parse.d.ts.map
\ No newline at end of file |