/**
 * A generator to iterate upward roots of an element. Example:
 *
 * ```js
 * for (const root of upwardRoots(someEl)) console.log(root)
 * ```
 */
export declare function upwardRoots(el: Element): Generator<ShadowRoot | Document, void, unknown>;
//# sourceMappingURL=upwardRoots.d.ts.map