/** * @author Thomas Barnekow * @license MIT */ import { XContainer, XNode } from '../internal.js'; /** * For the elements contained in the source sequence, returns the concatenated * sequences of descendant nodes of such elements in document order. * * @typeParam T The type of the elements of the source sequence. * @param source The source sequence of elements. * @returns The concatenated, flat sequence of descendant nodes in document order. */ export declare function descendantNodes(source: Iterable): Iterable; /** * For the elements contained in the source sequence, returns the concatenated * sequences of descendant nodes of such elements, including the elements * themselves, in document order. * * @typeParam T The type of the elements of the source sequence. * @param source The source sequence of elements. * @returns The concatenated, flat sequence of descendant nodes, including * the source elements, in document order */ export declare function descendantNodesAndSelf(source: Iterable): Iterable;