import './types'; import { NodeFilterTS } from './types'; /** * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177 * The NodeList interface provides the abstraction of an ordered collection of nodes, * without defining or constraining how this collection is implemented. NodeList objects in the DOM are live. * The items in the NodeList are accessible via an integral index, starting from 0. */ export declare class NodeListImpl extends Array implements NodeList { /** * Returns the indexth item in the collection. * If index is greater than or equal to the number of nodes in the list, this returns null. * * @standard level1 * @param index unsigned long * Index into the collection. * @return Node * The node at the indexth position in the NodeList, or null if that is not a valid index. */ item(index: number): T | null; namedItem(_name: string): T | null; forEach(callbackfn: (value: T, key: number, parent: NodeListImpl) => void, thisArg?: any): void; toString(isHTML?: boolean, nodeFilter?: NodeFilterTS): string; }