import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import NodeFactory from '../NodeFactory'; import { IElement, INode, INonDocumentTypeChildNode, IParentNode, ISlotable, INamedNodeMap, IDOMTokenList, IShadowRoot, IAttr, IDOMRect, IDOMRectList, IFullscreenOptions, IScrollIntoViewOptions } from '../interfaces/official'; import { ISuperElement, ISuperHTMLCollection } from '../interfaces/super'; import { INodeProperties } from './Node'; import { INonDocumentTypeChildNodeProperties } from '../official-mixins/NonDocumentTypeChildNode'; import { IParentNodeProperties } from '../official-mixins/ParentNode'; import { ISlotableProperties } from '../official-mixins/Slotable'; export declare const getState: (instance: IElement) => IElementProperties, setState: (instance: IElement, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export declare const nodeFactory: NodeFactory; export declare function ElementGenerator(Node: Constructable, NonDocumentTypeChildNode: Constructable, ParentNode: Constructable, Slotable: Constructable): { new (): { readonly attributes: INamedNodeMap; readonly classList: IDOMTokenList; readonly className: Promise; readonly clientHeight: Promise; readonly clientLeft: Promise; readonly clientTop: Promise; readonly clientWidth: Promise; readonly id: Promise; readonly innerHTML: Promise; readonly localName: Promise; readonly namespaceURI: Promise; readonly outerHTML: Promise; readonly part: IDOMTokenList; readonly prefix: Promise; readonly scrollHeight: Promise; readonly scrollLeft: Promise; readonly scrollTop: Promise; readonly scrollWidth: Promise; readonly shadowRoot: IShadowRoot; readonly slot: Promise; readonly tagName: Promise; closest(selectors: string): ISuperElement; getAttribute(qualifiedName: string): Promise; getAttributeNS(namespace: string | null, localName: string): Promise; getAttributeNames(): Promise>; getAttributeNode(qualifiedName: string): Promise; getAttributeNodeNS(namespace: string | null, localName: string): Promise; getBoundingClientRect(): Promise; getClientRects(): Promise; getElementsByClassName(classNames: string): ISuperHTMLCollection; getElementsByTagName(qualifiedName: string): ISuperHTMLCollection; getElementsByTagNameNS(namespace: string | null, localName: string): ISuperHTMLCollection; hasAttribute(qualifiedName: string): Promise; hasAttributeNS(namespace: string | null, localName: string): Promise; hasAttributes(): Promise; hasPointerCapture(pointerId: number): Promise; matches(selectors: string): Promise; requestFullscreen(options?: IFullscreenOptions | undefined): Promise; requestPointerLock(): Promise; scrollIntoView(arg?: boolean | IScrollIntoViewOptions | undefined): Promise; then(onfulfilled?: ((value: IElement) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined): Promise; readonly ATTRIBUTE_NODE: number; readonly CDATA_SECTION_NODE: number; readonly COMMENT_NODE: number; readonly DOCUMENT_FRAGMENT_NODE: number; readonly DOCUMENT_NODE: number; readonly DOCUMENT_POSITION_CONTAINED_BY: number; readonly DOCUMENT_POSITION_CONTAINS: number; readonly DOCUMENT_POSITION_DISCONNECTED: number; readonly DOCUMENT_POSITION_FOLLOWING: number; readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; readonly DOCUMENT_POSITION_PRECEDING: number; readonly DOCUMENT_TYPE_NODE: number; readonly ELEMENT_NODE: number; readonly ENTITY_NODE: number; readonly ENTITY_REFERENCE_NODE: number; readonly NOTATION_NODE: number; readonly PROCESSING_INSTRUCTION_NODE: number; readonly TEXT_NODE: number; readonly baseURI: Promise; readonly childNodes: import("../interfaces/super").ISuperNodeList; readonly firstChild: import("../interfaces/super").ISuperNode; readonly isConnected: Promise; readonly lastChild: import("../interfaces/super").ISuperNode; readonly nextSibling: import("../interfaces/super").ISuperNode; readonly nodeName: Promise; readonly nodeType: Promise; readonly nodeValue: Promise; readonly ownerDocument: import("../interfaces/super").ISuperDocument; readonly parentElement: ISuperElement; readonly parentNode: import("../interfaces/super").ISuperNode; readonly previousSibling: import("../interfaces/super").ISuperNode; readonly textContent: Promise; compareDocumentPosition(other: import("../interfaces/isolate").INodeIsolate): Promise; contains(other: import("../interfaces/isolate").INodeIsolate | null): Promise; getRootNode(options?: import("../interfaces/official").IGetRootNodeOptions | undefined): import("../interfaces/super").ISuperNode; hasChildNodes(): Promise; isDefaultNamespace(namespace: string | null): Promise; isEqualNode(otherNode: import("../interfaces/isolate").INodeIsolate | null): Promise; isSameNode(otherNode: import("../interfaces/isolate").INodeIsolate | null): Promise; lookupNamespaceURI(prefix: string | null): Promise; lookupPrefix(namespace: string | null): Promise; normalize(): Promise; readonly nextElementSibling: ISuperElement; readonly previousElementSibling: ISuperElement; readonly childElementCount: Promise; readonly children: ISuperHTMLCollection; readonly firstElementChild: ISuperElement; readonly lastElementChild: ISuperElement; querySelector(selectors: string): ISuperElement; querySelectorAll(selectors: string): import("../interfaces/super").ISuperNodeList; readonly assignedSlot: import("../interfaces/official").IHTMLSlotElement; }; }; export interface IElementProperties extends INodeProperties, INonDocumentTypeChildNodeProperties, IParentNodeProperties, ISlotableProperties { awaitedPath: AwaitedPath; awaitedOptions: any; createInstanceName: string; readonly attributes?: INamedNodeMap; readonly classList?: IDOMTokenList; readonly className?: Promise; readonly clientHeight?: Promise; readonly clientLeft?: Promise; readonly clientTop?: Promise; readonly clientWidth?: Promise; readonly id?: Promise; readonly innerHTML?: Promise; readonly localName?: Promise; readonly namespaceURI?: Promise; readonly outerHTML?: Promise; readonly part?: IDOMTokenList; readonly prefix?: Promise; readonly scrollHeight?: Promise; readonly scrollLeft?: Promise; readonly scrollTop?: Promise; readonly scrollWidth?: Promise; readonly shadowRoot?: IShadowRoot; readonly slot?: Promise; readonly tagName?: Promise; } export declare const ElementPropertyKeys: string[]; export declare const ElementConstantKeys: string[];