|
|
|
|
|
import { AnyNode, Document, ParentNode } from 'domhandler'; |
|
|
import type { InternalOptions } from './options.js'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export declare function update(newChilds: AnyNode[] | AnyNode, parent: ParentNode | null): ParentNode | null; |
|
|
|