import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import { IDocumentIsolate } from '../interfaces/isolate'; import { ISuperHTMLCollection, ISuperHTMLElement, ISuperElement, ISuperNodeList } from '../interfaces/super'; import { IDocumentType, IFeaturePolicy, IHTMLHeadElement, IDOMImplementation, ILocation, IDocumentReadyState, IVisibilityState } from '../interfaces/official'; export declare const getState: (instance: IDocumentIsolate) => IDocumentIsolateProperties, setState: (instance: IDocumentIsolate, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export default class DocumentIsolate implements IDocumentIsolate { get URL(): Promise; get anchors(): ISuperHTMLCollection; get body(): ISuperHTMLElement; get characterSet(): Promise; get compatMode(): Promise; get contentType(): Promise; get cookie(): Promise; get designMode(): Promise; get dir(): Promise; get doctype(): IDocumentType; get documentElement(): ISuperElement; get documentURI(): Promise; get domain(): Promise; get embeds(): ISuperHTMLCollection; get featurePolicy(): IFeaturePolicy; get forms(): ISuperHTMLCollection; get fullscreenEnabled(): Promise; get head(): IHTMLHeadElement; get hidden(): Promise; get images(): ISuperHTMLCollection; get implementation(): IDOMImplementation; get lastModified(): Promise; get links(): ISuperHTMLCollection; get location(): ILocation; get plugins(): ISuperHTMLCollection; get readyState(): Promise | Promise; get referrer(): Promise; get scripts(): ISuperHTMLCollection; get scrollingElement(): ISuperElement; get title(): Promise; get 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 IDocumentIsolateProperties { awaitedPath: AwaitedPath; awaitedOptions: any; 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; } export declare const DocumentIsolatePropertyKeys: string[]; export declare const DocumentIsolateConstantKeys: never[];