import IDocumentFragment from './IDocumentFragment';
import INode from '../node/INode';
import IHTMLCollection from '../element/IHTMLCollection';
/**
* DocumentFragment.
*/
export default class DocumentFragment extends Node implements IDocumentFragment {
nodeType: import("../node/NodeTypeEnum").default;
readonly children: IHTMLCollection<IElement>;
_rootNode: INode;
/**
* Last element child.
*
* @returns Element.
*/
get childElementCount(): number;
/**
* First element child.
*
* @returns Element.
*/
get firstElementChild(): IElement;
/**
* Last element child.
*
* @returns Element.
*/
get lastElementChild(): IElement;
/**
* Get text value of children.
*
* @returns Text content.
*/
get textContent(): string;
/**
* Sets text content.
*
* @param textContent Text content.
*/
set textContent(textContent: string);
/**
* Inserts a set of Node objects or DOMString objects after the last child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.
*
* @param nodes List of Node or DOMString.
*/
append(...nodes: (INode | string)[]): void;
/**
* Inserts a set of Node objects or DOMString objects before the first child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.
*
* @param nodes List of Node or DOMString.
*/
prepend(...nodes: (INode | string)[]): void;
/**
* Replaces the existing children of a node with a specified new set of children.