///
import { ISuperNodeList, ISuperNode, ISuperDocument, ISuperElement, ISuperHTMLCollection, ISuperHTMLElement, ISuperText } from './super';
import { INodeIsolate } from './isolate';
import { IGetRootNodeOptions, IDocumentType, IFeaturePolicy, IHTMLHeadElement, IDOMImplementation, ILocation, IDocumentReadyState, IVisibilityState, INamedNodeMap, IDOMTokenList, IShadowRoot, IAttr, IDOMRect, IDOMRectList, IFullscreenOptions, IScrollIntoViewOptions, IHTMLFormElement, IValidityState, IMediaStream, IOffscreenCanvas, IHTMLOptionsCollection, IFileList, ISelectionMode, IAudioTrackList, ITimeRanges, IMediaError, IMediaKeys, ITextTrackList, IVideoTrackList, ICanPlayTypeResult, IVideoPlaybackQuality, IDocumentFragment, IHTMLOptionElement, IAssignedNodesOptions, IHTMLTableCaptionElement, IHTMLTableSectionElement, IHTMLTableCellElement, ITextTrack, IShadowRootMode, ICSSRuleList, ICSSRule } from './official';
export interface INodeIsolate {
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: ISuperNode;
readonly isConnected: Promise;
readonly lastChild: ISuperNode;
readonly nextSibling: ISuperNode;
readonly nodeName: Promise;
readonly nodeType: Promise;
readonly nodeValue: Promise;
readonly ownerDocument: ISuperDocument;
readonly parentElement: ISuperElement;
readonly parentNode: ISuperNode;
readonly previousSibling: ISuperNode;
readonly textContent: Promise;
compareDocumentPosition(other: INodeIsolate): Promise;
contains(other: INodeIsolate | null): Promise;
getRootNode(options?: IGetRootNodeOptions): 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;
}
export interface IHTMLDocumentIsolate {
}
export interface IDocumentIsolate {
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 | 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;
}
export interface IElementIsolate {
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): Promise;
requestPointerLock(): Promise;
scrollIntoView(arg?: boolean | IScrollIntoViewOptions): Promise;
}
export interface IHTMLMediaElementIsolate {
readonly HAVE_CURRENT_DATA: number;
readonly HAVE_ENOUGH_DATA: number;
readonly HAVE_FUTURE_DATA: number;
readonly HAVE_METADATA: number;
readonly HAVE_NOTHING: number;
readonly NETWORK_EMPTY: number;
readonly NETWORK_IDLE: number;
readonly NETWORK_LOADING: number;
readonly NETWORK_NO_SOURCE: number;
readonly audioTracks: IAudioTrackList;
readonly autoplay: Promise;
readonly buffered: ITimeRanges;
readonly controls: Promise;
readonly controlsList: IDOMTokenList;
readonly crossOrigin: Promise;
readonly currentSrc: Promise;
readonly currentTime: Promise;
readonly defaultMuted: Promise;
readonly defaultPlaybackRate: Promise;
readonly disableRemotePlayback: Promise;
readonly duration: Promise;
readonly ended: Promise;
readonly error: IMediaError;
readonly loop: Promise;
readonly mediaKeys: IMediaKeys;
readonly muted: Promise;
readonly networkState: Promise;
readonly playbackRate: Promise;
readonly played: ITimeRanges;
readonly preload: Promise;
readonly readyState: Promise | Promise;
readonly seekable: ITimeRanges;
readonly seeking: Promise;
readonly sinkId: Promise;
readonly src: Promise;
readonly textTracks: ITextTrackList;
readonly videoTracks: IVideoTrackList;
readonly volume: Promise;
canPlayType(type: string): Promise;
captureStream(): IMediaStream;
load(): Promise;
pause(): Promise;
play(): Promise;
setSinkId(sinkId: string): Promise;
}
export interface IAttrIsolate {
readonly localName: Promise;
readonly name: Promise;
readonly namespaceURI: Promise;
readonly ownerElement: ISuperElement;
readonly prefix: Promise;
readonly specified: Promise;
readonly value: Promise | Promise;
}
export interface ICharacterDataIsolate {
readonly data: Promise;
readonly length: Promise;
substringData(offset: number, count: number): Promise;
}
export interface ITextIsolate {
readonly wholeText: Promise;
splitText(offset: number): Promise;
}
export interface IDocumentFragmentIsolate {
}
export interface IShadowRootIsolate {
readonly delegatesFocus: Promise;
readonly host: Promise | ISuperElement;
readonly innerHTML: Promise;
readonly mode: Promise;
}
export interface IDocumentTypeIsolate {
readonly name: Promise;
readonly publicId: Promise;
readonly systemId: Promise;
}
export interface IRadioNodeListIsolate {
readonly value: Promise;
[index: number]: ISuperNode;
}
export interface INodeListIsolate {
readonly length: Promise;
item(index: number): ISuperNode;
forEach(callbackfn: (value: ISuperNode, key: number, parent: INodeListIsolate) => void, thisArg?: any): Promise;
entries(): Promise>;
keys(): Promise>;
values(): Promise>;
[Symbol.iterator](): Iterator;
[index: number]: ISuperNode;
}
export interface IHTMLCollectionBaseIsolate {
readonly length: Promise;
item(index: number): ISuperElement;
[Symbol.iterator](): Iterator;
[index: number]: ISuperElement;
}
export interface IHTMLOptionsCollectionIsolate {
}
export interface IHTMLCollectionIsolate {
namedItem(name: string): ISuperElement;
[index: number]: ISuperElement;
}
export interface ICSSStyleSheetIsolate {
readonly cssRules: ICSSRuleList;
readonly ownerRule: ICSSRule;
deleteRule(index: number): Promise;
insertRule(rule: string, index?: number): Promise;
}
export interface IStyleSheetIsolate {
}
export interface IHTMLElementIsolate {
readonly accessKey: Promise;
readonly autoCapitalize: Promise;
readonly dir: Promise;
readonly draggable: Promise;
readonly hidden: Promise;
readonly inert: Promise;
readonly innerText: Promise;
readonly lang: Promise;
readonly offsetHeight: Promise;
readonly offsetLeft: Promise;
readonly offsetParent: ISuperElement;
readonly offsetTop: Promise;
readonly offsetWidth: Promise;
readonly spellcheck: Promise;
readonly title: Promise;
readonly translate: Promise;
click(): Promise;
}
export interface IHTMLAnchorElementIsolate {
readonly download: Promise;
readonly hreflang: Promise;
readonly referrerPolicy: Promise;
readonly rel: Promise;
readonly relList: IDOMTokenList;
readonly target: Promise;
readonly text: Promise;
readonly type: Promise;
}
export interface IHTMLAreaElementIsolate {
readonly alt: Promise;
readonly coords: Promise;
readonly download: Promise;
readonly hreflang: Promise;
readonly noHref: Promise;
readonly referrerPolicy: Promise;
readonly rel: Promise;
readonly relList: IDOMTokenList;
readonly shape: Promise;
readonly target: Promise;
readonly type: Promise;
}
export interface IHTMLBRElementIsolate {
}
export interface IHTMLBaseElementIsolate {
readonly href: Promise;
readonly target: Promise;
}
export interface IHTMLBodyElementIsolate {
readonly aLink: Promise;
readonly background: Promise;
readonly bgColor: Promise;
readonly link: Promise;
readonly text: Promise;
readonly vLink: Promise;
}
export interface IHTMLButtonElementIsolate {
readonly autofocus: Promise;
readonly disabled: Promise;
readonly form: IHTMLFormElement;
readonly formAction: Promise;
readonly formEnctype: Promise;
readonly formMethod: Promise;
readonly formNoValidate: Promise;
readonly formTarget: Promise;
readonly labels: ISuperNodeList;
readonly name: Promise;
readonly type: Promise;
readonly validationMessage: Promise;
readonly validity: Promise;
readonly value: Promise | Promise;
readonly willValidate: Promise;
checkValidity(): Promise;
reportValidity(): Promise;
}
export interface IHTMLCanvasElementIsolate {
readonly height: Promise | Promise;
readonly width: Promise | Promise;
captureStream(frameRequestRate?: number): IMediaStream;
toDataURL(type?: string, quality?: any): Promise;
transferControlToOffscreen(): IOffscreenCanvas;
}
export interface IHTMLDListElementIsolate {
readonly compact: Promise;
}
export interface IHTMLDataElementIsolate {
readonly value: Promise | Promise;
}
export interface IHTMLDataListElementIsolate {
readonly options: Promise | IHTMLOptionsCollection;
}
export interface IHTMLDetailsElementIsolate {
readonly open: Promise;
}
export interface IHTMLDialogElementIsolate {
readonly open: Promise;
readonly returnValue: Promise;
close(returnValue?: string): Promise;
show(): Promise;
showModal(): Promise;
}
export interface IHTMLDirectoryElementIsolate {
readonly compact: Promise;
}
export interface IHTMLDivElementIsolate {
readonly align: Promise;
}
export interface IHTMLEmbedElementIsolate {
readonly align: Promise;
readonly height: Promise | Promise;
readonly name: Promise;
readonly src: Promise;
readonly type: Promise;
readonly width: Promise | Promise;
}
export interface IHTMLFieldSetElementIsolate {
readonly disabled: Promise;
readonly elements: ISuperHTMLCollection;
readonly form: IHTMLFormElement;
readonly name: Promise;
readonly type: Promise;
readonly validationMessage: Promise;
readonly validity: Promise;
readonly willValidate: Promise;
checkValidity(): Promise;
reportValidity(): Promise;
}
export interface IHTMLFontElementIsolate {
readonly color: Promise;
readonly face: Promise;
readonly size: Promise | Promise;
}
export interface IHTMLFormElementIsolate {
readonly acceptCharset: Promise;
readonly action: Promise;
readonly autocomplete: Promise;
readonly encoding: Promise;
readonly enctype: Promise;
readonly length: Promise;
readonly name: Promise;
readonly noValidate: Promise;
readonly target: Promise;
checkValidity(): Promise;
reportValidity(): Promise;
reset(): Promise;
submit(): Promise;
}
export interface IHTMLFrameElementIsolate {
readonly contentDocument: ISuperDocument;
readonly frameBorder: Promise;
readonly longDesc: Promise;
readonly marginHeight: Promise;
readonly marginWidth: Promise;
readonly name: Promise;
readonly noResize: Promise;
readonly scrolling: Promise;
readonly src: Promise;
}
export interface IHTMLFrameSetElementIsolate {
readonly cols: Promise | Promise;
readonly rows: Promise | ISuperHTMLCollection | Promise;
}
export interface IHTMLHRElementIsolate {
}
export interface IHTMLHeadElementIsolate {
}
export interface IHTMLHeadingElementIsolate {
readonly align: Promise;
}
export interface IHTMLHtmlElementIsolate {
readonly version: Promise;
}
export interface IHTMLIFrameElementIsolate {
readonly align: Promise;
readonly allow: Promise;
readonly allowFullscreen: Promise;
readonly allowPaymentRequest: Promise;
readonly contentDocument: ISuperDocument;
readonly csp: Promise;
readonly featurePolicy: IFeaturePolicy;
readonly frameBorder: Promise;
readonly height: Promise | Promise;
readonly longDesc: Promise;
readonly marginHeight: Promise;
readonly marginWidth: Promise