export declare function isSyntheticOrNativeShadowRoot(node: unknown): node is ShadowRoot; export declare function getOwnerDocument(node: Node): Document; export declare function getOwnerWindow(node: Node): Window; export declare function isGlobalPatchingSkipped(node: Node): boolean; /** * This utility should be used to convert NodeList and HTMLCollection into an array before we * perform array operations on them. See issue #1545 for more details. * @param collection */ export declare function arrayFromCollection(collection: T): T extends NodeListOf ? U[] : Node[]; export declare function arrayFromCollection(collection: T): T extends HTMLCollectionOf ? U[] : Element[]; //# sourceMappingURL=utils.d.ts.map