import { DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode'; /** * Constructor parameters for {@link DocNodeContainer}. */ export interface IDocNodeContainerParameters extends IDocNodeParameters { } /** * Constructor parameters for {@link DocNodeContainer}. */ export interface IDocNodeContainerParsedParameters extends IDocNodeParsedParameters { } /** * DocNodeContainer is the base class for DocNode classes that allow arbitrary child nodes to be added by the consumer. * The child classes are {@link DocParagraph} and {@link DocSection}. */ export declare abstract class DocNodeContainer extends DocNode { private readonly _nodes; /** * Don't call this directly. Instead use {@link TSDocParser} * @internal */ constructor(parameters: IDocNodeContainerParameters | IDocNodeContainerParsedParameters, childNodes?: ReadonlyArray); /** * The nodes that were added to this container. */ get nodes(): ReadonlyArray; /** * Append a node to the container. */ appendNode(docNode: DocNode): void; /** * Append nodes to the container. */ appendNodes(docNodes: ReadonlyArray): void; /** * Remove all nodes from the container. */ clearNodes(): void; /** @override */ protected onGetChildNodes(): ReadonlyArray; } //# sourceMappingURL=DocNodeContainer.d.ts.map