import { Context } from './Context.js'; import { PageSources } from '../Page/PageSources.js'; import type { VariableProcessor } from '../variables/VariableProcessor.js'; import { MdAttributeRenderer } from './MdAttributeRenderer.js'; import { MarkdownProcessor } from './MarkdownProcessor.js'; import type { SiteLinkManager } from './SiteLinkManager.js'; import type { PluginManager } from '../plugins/PluginManager.js'; import { PageNavProcessor } from './siteAndPageNavProcessor.js'; import { FootnoteProcessor } from './FootnoteProcessor.js'; import { NodeOrText } from '../utils/node.js'; import '../patches/htmlparser2.js'; export type NodeProcessorConfig = { baseUrl: string; baseUrlMap: Set; rootPath: string; outputPath: string; ignore: string[]; addressablePagesSource: string[]; intrasiteLinkValidation: { enabled: boolean; }; codeLineNumbers: boolean; plantumlCheck: boolean; headerIdMap: { [id: string]: number; }; }; export declare class NodeProcessor { private config; private pageSources; private variableProcessor; private pluginManager; private siteLinkManager; private userScriptsAndStyles; frontmatter: Record; headTop: string[]; headBottom: string[]; scriptBottom: string[]; markdownProcessor: MarkdownProcessor; footnoteProcessor: FootnoteProcessor; mdAttributeRenderer: MdAttributeRenderer; pageNavProcessor: PageNavProcessor; processedModals: Record; constructor(config: NodeProcessorConfig, pageSources: PageSources, variableProcessor: VariableProcessor, pluginManager: PluginManager, siteLinkManager: SiteLinkManager, userScriptsAndStyles: string[], docId?: string); static _trimNodes(nodeOrText: NodeOrText): void; static _isText(node: NodeOrText): boolean; private _processFrontmatter; private static collectLayoutEl; /** * Removes the node if modal id already exists, processes node otherwise */ private processModal; processNode(nodeOrText: NodeOrText, context: Context): Context; postProcessNode(nodeOrText: NodeOrText): void; private traverse; process(file: string, content: string, cwf?: string, extraVariables?: Record): Promise; } //# sourceMappingURL=NodeProcessor.d.ts.map