export declare function discover(root: Element | ShadowRoot): Promise;