/** * A stylesheet the component owns and rewrites at runtime, appended after the * component's static styles so its declarations win over them. */ export class AdoptedSheet { /** @param {string} marker Identifies the sheet in the DOM when the fallback is used. */ constructor(marker: string); /** @param {ShadowRoot | HTMLElement | DocumentFragment} root */ attach(root: ShadowRoot | HTMLElement | DocumentFragment): void; /** * Replace the sheet's contents. Cheap to call on every update: identical CSS * is ignored. * * @param {string} css * @param {ShadowRoot | HTMLElement | DocumentFragment} root */ write(css: string, root: ShadowRoot | HTMLElement | DocumentFragment): void; detach(): void; #private; }