import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import { IShadowRoot, IDocumentFragment, IDocumentOrShadowRoot, IShadowRootMode } from '../interfaces/official'; import { ISuperElement } from '../interfaces/super'; import { IDocumentFragmentProperties } from './DocumentFragment'; import { IDocumentOrShadowRootProperties } from '../official-mixins/DocumentOrShadowRoot'; export declare const getState: (instance: IShadowRoot) => IShadowRootProperties, setState: (instance: IShadowRoot, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export declare function ShadowRootGenerator(DocumentFragment: Constructable, DocumentOrShadowRoot: Constructable): { new (): { readonly delegatesFocus: Promise; readonly host: ISuperElement; readonly innerHTML: Promise; readonly mode: 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; getElementById(elementId: string): ISuperElement; readonly childElementCount: Promise; readonly children: import("../interfaces/super").ISuperHTMLCollection; readonly firstElementChild: ISuperElement; readonly lastElementChild: ISuperElement; querySelector(selectors: string): ISuperElement; querySelectorAll(selectors: string): import("../interfaces/super").ISuperNodeList; 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; }; }; export interface IShadowRootProperties extends IDocumentFragmentProperties, IDocumentOrShadowRootProperties { awaitedPath: AwaitedPath; awaitedOptions: any; readonly delegatesFocus?: Promise; readonly host?: ISuperElement; readonly innerHTML?: Promise; readonly mode?: Promise; } export declare const ShadowRootPropertyKeys: string[]; export declare const ShadowRootConstantKeys: string[];