12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- import type { CheerioAPI, Cheerio } from '.';
- import { Node, Document } from 'domhandler';
- import { CheerioOptions } from './options';
- export declare function html(this: CheerioAPI | void, options?: CheerioOptions): string;
- export declare function html(this: CheerioAPI | void, dom?: string | ArrayLike<Node> | Node, options?: CheerioOptions): string;
- export declare function xml(this: CheerioAPI, dom?: string | ArrayLike<Node> | Node): string;
- export declare function text(this: CheerioAPI | void, elements?: ArrayLike<Node>): string;
- export declare function parseHTML(this: CheerioAPI, data: string, context?: unknown | boolean, keepScripts?: boolean): Node[];
- export declare function parseHTML(this: CheerioAPI, data?: '' | null): null;
- export declare function root(this: CheerioAPI): Cheerio<Document>;
- export declare function contains(container: Node, contained: Node): boolean;
- interface WritableArrayLike<T> extends ArrayLike<T> {
- length: number;
- [n: number]: T;
- }
- export declare function merge<T>(arr1: WritableArrayLike<T>, arr2: ArrayLike<T>): ArrayLike<T> | undefined;
- export {};
|