import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import NodeFactory from '../NodeFactory'; import { ISuperDocument, ISuperHTMLCollection, ISuperHTMLElement, ISuperElement, ISuperNodeList } from '../interfaces/super'; import { IDocumentIsolate, IHTMLDocumentIsolate, INodeIsolate } from '../interfaces/isolate'; import { IDocumentOrShadowRoot, INonElementParentNode, IParentNode, IXPathEvaluatorBase, IDocumentType, IFeaturePolicy, IHTMLHeadElement, IDOMImplementation, ILocation, IDocumentReadyState, IVisibilityState } from '../interfaces/official'; import { IDocumentIsolateProperties } from '../isolate-mixins/DocumentIsolate'; import { IDocumentOrShadowRootProperties } from '../official-mixins/DocumentOrShadowRoot'; import { IHTMLDocumentIsolateProperties } from '../isolate-mixins/HTMLDocumentIsolate'; import { INodeIsolateProperties } from '../isolate-mixins/NodeIsolate'; import { INonElementParentNodeProperties } from '../official-mixins/NonElementParentNode'; import { IParentNodeProperties } from '../official-mixins/ParentNode'; import { IXPathEvaluatorBaseProperties } from '../official-mixins/XPathEvaluatorBase'; export declare const getState: (instance: ISuperDocument) => ISuperDocumentProperties, setState: (instance: ISuperDocument, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export declare const nodeFactory: NodeFactory; export declare function SuperDocumentGenerator(DocumentIsolate: Constructable, DocumentOrShadowRoot: Constructable, HTMLDocumentIsolate: Constructable, NodeIsolate: Constructable, NonElementParentNode: Constructable, ParentNode: Constructable, XPathEvaluatorBase: Constructable): { new (): { readonly URL: Promise; readonly anchors: ISuperHTMLCollection; readonly body: ISuperHTMLElement; readonly characterSet: Promise; readonly compatMode: Promise; readonly contentType: Promise; readonly cookie: Promise; readonly designMode: Promise; readonly dir: Promise; readonly doctype: IDocumentType; readonly documentElement: ISuperElement; readonly documentURI: Promise; readonly domain: Promise; readonly embeds: ISuperHTMLCollection; readonly featurePolicy: IFeaturePolicy; readonly forms: ISuperHTMLCollection; readonly fullscreenEnabled: Promise; readonly head: IHTMLHeadElement; readonly hidden: Promise; readonly images: ISuperHTMLCollection; readonly implementation: IDOMImplementation; readonly lastModified: Promise; readonly links: ISuperHTMLCollection; readonly location: ILocation; readonly plugins: ISuperHTMLCollection; readonly readyState: Promise; readonly referrer: Promise; readonly scripts: ISuperHTMLCollection; readonly scrollingElement: ISuperElement; readonly title: Promise; readonly visibilityState: Promise; exitFullscreen(): Promise; exitPointerLock(): Promise; getElementsByClassName(classNames: string): ISuperHTMLCollection; getElementsByName(elementName: string): ISuperNodeList; getElementsByTagName(qualifiedName: string): ISuperHTMLCollection; getElementsByTagNameNS(namespace: string | null, localName: string): ISuperHTMLCollection; hasFocus(): Promise; then(onfulfilled?: ((value: ISuperDocument) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined): Promise; readonly activeElement: ISuperElement; readonly fullscreenElement: ISuperElement; readonly pointerLockElement: ISuperElement; caretPositionFromPoint(x: number, y: number): import("../interfaces/official").ICaretPosition; elementFromPoint(x: number, y: number): ISuperElement; getSelection(): import("../interfaces/official").ISelection; 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: 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: ISuperDocument; readonly parentElement: ISuperElement; readonly parentNode: import("../interfaces/super").ISuperNode; readonly previousSibling: import("../interfaces/super").ISuperNode; readonly textContent: Promise; compareDocumentPosition(other: INodeIsolate): Promise; contains(other: INodeIsolate | null): Promise; getRootNode(options?: import("../interfaces/official").IGetRootNodeOptions | undefined): import("../interfaces/super").ISuperNode; hasChildNodes(): Promise; isDefaultNamespace(namespace: string | null): Promise; isEqualNode(otherNode: INodeIsolate | null): Promise; isSameNode(otherNode: INodeIsolate | null): Promise; lookupNamespaceURI(prefix: string | null): Promise; lookupPrefix(namespace: string | null): Promise; normalize(): Promise; getElementById(elementId: string): ISuperElement; readonly childElementCount: Promise; readonly children: ISuperHTMLCollection; readonly firstElementChild: ISuperElement; readonly lastElementChild: ISuperElement; querySelector(selectors: string): ISuperElement; querySelectorAll(selectors: string): ISuperNodeList; createExpression(expression: string, resolver?: import("../interfaces/official").IXPathNSResolver | null | undefined): import("../interfaces/official").IXPathExpression; evaluate(expression: string, contextNode: INodeIsolate, resolver?: import("../interfaces/official").IXPathNSResolver | null | undefined, type?: number | undefined, result?: import("../interfaces/official").IXPathResult | null | undefined): import("../interfaces/official").IXPathResult; }; }; export interface ISuperDocumentProperties extends IDocumentIsolateProperties, IDocumentOrShadowRootProperties, IHTMLDocumentIsolateProperties, INodeIsolateProperties, INonElementParentNodeProperties, IParentNodeProperties, IXPathEvaluatorBaseProperties { awaitedPath: AwaitedPath; awaitedOptions: any; createInstanceName: string; readonly URL?: Promise; readonly anchors?: ISuperHTMLCollection; readonly body?: ISuperHTMLElement; readonly characterSet?: Promise; readonly compatMode?: Promise; readonly contentType?: Promise; readonly cookie?: Promise; readonly designMode?: Promise; readonly dir?: Promise; readonly doctype?: IDocumentType; readonly documentElement?: ISuperElement; readonly documentURI?: Promise; readonly domain?: Promise; readonly embeds?: ISuperHTMLCollection; readonly featurePolicy?: IFeaturePolicy; readonly forms?: ISuperHTMLCollection; readonly fullscreenEnabled?: Promise; readonly head?: IHTMLHeadElement; readonly hidden?: Promise; readonly images?: ISuperHTMLCollection; readonly implementation?: IDOMImplementation; readonly lastModified?: Promise; readonly links?: ISuperHTMLCollection; readonly location?: ILocation; readonly plugins?: ISuperHTMLCollection; readonly readyState?: Promise; readonly referrer?: Promise; readonly scripts?: ISuperHTMLCollection; readonly scrollingElement?: ISuperElement; readonly title?: Promise; readonly visibilityState?: Promise; } export declare const SuperDocumentPropertyKeys: string[]; export declare const SuperDocumentConstantKeys: string[];