1 | /**
|
2 | * Collects the text content of a given element.
|
3 | *
|
4 | * @param node the element
|
5 | * @param trim whether to remove trailing whitespace chars
|
6 | * @param singleSpaces whether to convert multiple whitespace chars into a single space character
|
7 | */
|
8 | export default function text(node: HTMLElement | null, trim?: boolean, singleSpaces?: boolean): string;
|