1 | import { type CheerioAPI } from './load.js';
|
2 | import type { CheerioOptions } from './options.js';
|
3 | import type { AnyNode } from 'domhandler';
|
4 | /**
|
5 | * Create a querying function, bound to a document created from the provided
|
6 | * markup.
|
7 | *
|
8 | * Note that similar to web browser contexts, this operation may introduce
|
9 | * `<html>`, `<head>`, and `<body>` elements; set `isDocument` to `false` to
|
10 | * switch to fragment mode and disable this.
|
11 | *
|
12 | * @category Loading
|
13 | * @param content - Markup to be loaded.
|
14 | * @param options - Options for the created instance.
|
15 | * @param isDocument - Allows parser to be switched to fragment mode.
|
16 | * @returns The loaded document.
|
17 | * @see {@link https://cheerio.js.org#loading} for additional usage information.
|
18 | */
|
19 | export declare const load: (content: string | AnyNode | AnyNode[] | Buffer, options?: CheerioOptions | null, isDocument?: boolean) => CheerioAPI;
|
20 | //# sourceMappingURL=load-parse.d.ts.map |
\ | No newline at end of file |