import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import { IText, ICharacterData, ISlotable } from '../interfaces/official'; import { ISuperText } from '../interfaces/super'; import { ICharacterDataProperties } from './CharacterData'; import { ISlotableProperties } from '../official-mixins/Slotable'; export declare const getState: (instance: IText) => ITextProperties, setState: (instance: IText, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export declare function TextGenerator(CharacterData: Constructable, Slotable: Constructable): { new (_data?: string | undefined): { readonly wholeText: Promise; splitText(offset: number): Promise; readonly data: Promise; readonly length: Promise; substringData(offset: number, count: number): 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: import("../interfaces/super").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: import("../interfaces/super").ISuperElement; readonly previousElementSibling: import("../interfaces/super").ISuperElement; readonly assignedSlot: import("../interfaces/official").IHTMLSlotElement; }; }; export interface ITextProperties extends ICharacterDataProperties, ISlotableProperties { awaitedPath: AwaitedPath; awaitedOptions: any; readonly wholeText?: Promise; } export declare const TextPropertyKeys: string[]; export declare const TextConstantKeys: string[];