export declare const isShadowRoot: (el: Node) => el is ShadowRoot; export declare const isShadowElement: (el: Node) => boolean; export declare const isCustomElementWithShadowRoot: (el: Element) => el is HTMLElement & { shadowRoot: ShadowRoot; }; export declare const shadowPiercingAncestors: (element: Node) => Generator; export declare const shadowPiercingContains: (container: HTMLElement | Document, el: HTMLElement) => boolean; export declare const shallowShadowQuerySelector: (el: HTMLElement | Document, selector: string) => HTMLElement | null;