aboutsummaryrefslogtreecommitdiff
path: root/node_modules/cheerio/lib/parse.d.ts
blob: 87adbe10ae86248e22d905c4be564ae8de4ca97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/// <reference types="node" />
import { Node, Document, NodeWithChildren } from 'domhandler';
import type { InternalOptions } from './options';
export default function parse(content: string | Document | Node | Node[] | Buffer, options: InternalOptions, isDocument: boolean): 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: Node[] | Node, parent: NodeWithChildren | null): Node | null;
//# sourceMappingURL=parse.d.ts.map