import { LiveTree } from "../livetree.js"; import { TreeSelector } from "../creation/tree-selector.js"; /** * Graph-backed markup snapshot for a tree-owned content capability. * * These strings are serialized from the Hson node graph, not read from a * mounted DOM element. They are therefore available for detached branches. */ export type ContentMarkupApi = Readonly<{ /** Serialized child markup for the owner node. */ readonly innerHTML: string; /** Serialized owner-node markup, including the owner tag itself. */ readonly outerHTML: string; }>; /** Supported structured content operations owned by `LiveTree.content`. */ export interface ContentManager { readonly markup: ContentMarkupApi; count(): number; at(ix: number): LiveTree | undefined; first(): LiveTree | undefined; all(): TreeSelector; deep(): TreeSelector; mustOnly(opts?: { warn?: boolean; }): LiveTree; } //# sourceMappingURL=content-manager.d.ts.map