import type { BasicAcceptedElems } from './types.js'; import type { CheerioAPI } from './load.js'; import type { Cheerio } from './cheerio.js'; import type { AnyNode, Document } from 'domhandler'; import { type CheerioOptions } from './options.js'; import type { ExtractedMap, ExtractMap } from './api/extract.js'; /** * Renders the document. * * @category Static * @param options - Options for the renderer. * @returns The rendered document. */ export declare function html(this: CheerioAPI, options?: CheerioOptions): string; /** * Renders the document. * * @category Static * @param dom - Element to render. * @param options - Options for the renderer. * @returns The rendered document. */ export declare function html(this: CheerioAPI, dom?: BasicAcceptedElems, options?: CheerioOptions): string; /** * Render the document as XML. * * @category Static * @param dom - Element to render. * @returns THe rendered document. */ export declare function xml(this: CheerioAPI, dom?: BasicAcceptedElems): string; /** * Render the document as text. * * This returns the `textContent` of the passed elements. The result will * include the contents of `