declare class Attr { private static a; private static s; private static u; /** * Returns true if the requested attribute is specified on the given element, and false otherwise. * @throws {TypeError} if node is not resolved to an element */ has(node: Element | string, name: string): boolean | throws; /** * Gets the value of the named property from the provided element. * @throws {TypeError} if node is not resolved to an element */ get(node: T, name: U): U extends keyof T ? T[U] : unknown; get(node: string | Element, name: 'textContent' | 'textcontent'): (string | "") | throws; /** * Sets the value of a property on an HTML element. * @throws {TypeError} if node is not resolved to an element */ set(node: T, name: U, value: T[U]): T; set(node: T, name: U): T; /** * Removes an attribute from an HTML element. * @throws {TypeError} if node is not resolved to an element */ remove(node: Element | string, name: string): void | throws; /** * Returns the value of a property on an HTML element. * @throws {TypeError} if node is not resolved to an element */ getNodeProp(node: Element | string, name: string): any | throws; } declare const _default: Attr; export = _default; //# sourceMappingURL=dom-attr.d.ts.map