/** * General DOM utilities. */ /** * Get the owner document of an element or document. */ export declare function getOwnerDocument(node: Element | Document): Document; /** * Get the owner window of an element or document. */ export declare function getOwnerWindow(node: Element | Document): Window; /** * Check if an element is a form control. */ export declare function isFormControl(element: Element): element is HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | HTMLButtonElement; /** * Check if an element is editable (can receive text input). */ export declare function isEditable(element: Element): boolean; /** * Check if an element can be focused. */ export declare function isFocusable(element: Element): boolean; /** * Get the input type of an element. */ export declare function getInputType(element: Element): string | null; /** * Scroll an element into view if needed. */ export declare function scrollIntoViewIfNeeded(element: Element, options?: ScrollIntoViewOptions): void; /** * Get the text content of an element, normalized. */ export declare function getNormalizedText(element: Element): string; //# sourceMappingURL=utils.d.ts.map