import { ParserBase } from './base'; import type { LiquidHtmlNode, LiquidVariableOutput, LiquidRawTag, LiquidTag, TextNode, HtmlElement, HtmlVoidElement, HtmlSelfClosingElement, HtmlRawNode, HtmlComment, HtmlDoctype, HtmlDanglingMarkerClose, YAMLFrontmatter } from '../ast'; export interface NodeDispatchDelegate extends ParserBase { readonly dispatchParseHtml: boolean; readonly dispatchAllowUnclosedHtml: boolean; parseLiquidVariableOutput(): LiquidVariableOutput; parseLiquidTag(): LiquidTag | LiquidRawTag; parseHtmlElement(): HtmlElement | HtmlVoidElement | HtmlSelfClosingElement | HtmlRawNode; parseHtmlComment(): HtmlComment; parseHtmlDoctype(): HtmlDoctype; parseOrphanedHtmlCloseTag(): never; parseHtmlDanglingMarkerClose(): HtmlDanglingMarkerClose; } export declare function parseNode(p: NodeDispatchDelegate): LiquidHtmlNode; export declare function parseYamlFrontmatter(p: ParserBase): YAMLFrontmatter; export declare function advanceAsText(p: ParserBase): TextNode;