import type { HsonNode } from "../../core/types.js"; export declare const BROWSER_HTML_NAMESPACE = "http://www.w3.org/1999/xhtml"; export declare const BROWSER_SVG_NAMESPACE = "http://www.w3.org/2000/svg"; export type BrowserNamespace = "html" | "svg"; export type BrowserParserContext = "ordinary" | "rcdata" | "rawtext"; export type BrowserRealizationAttribute = Readonly<{ name: string; value: string; }>; type PlannedBase = Readonly<{ path: string; canonicalNode?: HsonNode; }>; export type BrowserRealizationText = PlannedBase & Readonly<{ kind: "text"; value: string; parserContext: BrowserParserContext; }>; export type BrowserRealizationMarker = PlannedBase & Readonly<{ kind: "marker"; markerKind: "boundary" | "empty" | "pre-leading-newline"; value: string; }>; export type BrowserRealizationElement = PlannedBase & Readonly<{ kind: "element"; canonicalNode: HsonNode; namespace: BrowserNamespace; localName: string; attrs: readonly BrowserRealizationAttribute[]; children: readonly BrowserRealizationNode[]; childTarget: "element" | "template-content"; parserContext: BrowserParserContext; }>; export type BrowserRealizationWrapper = PlannedBase & Readonly<{ kind: "wrapper"; namespace: BrowserNamespace; localName: string; attrs: readonly BrowserRealizationAttribute[]; children: readonly BrowserRealizationNode[]; childTarget: "element"; parserContext: "ordinary"; }>; export type BrowserRealizationNode = BrowserRealizationText | BrowserRealizationMarker | BrowserRealizationElement | BrowserRealizationWrapper; export type BrowserRealizationPlan = Readonly<{ version: 1; fingerprint: string; parentNamespace: BrowserNamespace; parserClosure: "not-required" | "verified"; roots: readonly BrowserRealizationNode[]; }>; export declare class BrowserRealizationIncompatibilityError extends Error { readonly reason: string; readonly canonicalPath: string; readonly code = "HSON_BROWSER_REALIZATION_INCOMPATIBLE"; constructor(reason: string, canonicalPath: string); } export {}; //# sourceMappingURL=browser-realization-plan.d.ts.map