import { DisposableStore, IDisposable } from "../common/lifecycle.js";
export declare function isGlobalStylesheet(node: Node): boolean;
export declare function createStyleSheet2(): WrappedStyleElement;
declare class WrappedStyleElement {
    private _currentCssStyle;
    private _styleSheet;
    setStyle(cssStyle: string): void;
    dispose(): void;
}
export declare let shadowRootContainer: ShadowRoot | undefined;
export declare function setContainerElement(container: HTMLElement): void;
export declare function createStyleSheet(container?: HTMLElement, beforeAppend?: (style: HTMLStyleElement) => void, disposableStore?: DisposableStore): HTMLStyleElement;
export declare function cloneGlobalStylesheets(targetWindow: Window): IDisposable;
export declare function createCSSRule(selector: string, cssText: string, style?: HTMLStyleElement): void;
export declare function removeCSSRulesContainingSelector(ruleName: string, style?: HTMLStyleElement): void;
export {};
