import * as i0 from '@angular/core';

declare class UseStyle {
    document: Document;
    private styleSheets;
    private shadowRoots;
    /**
     * Applies the injected styles inside the given shadow root.
     */
    addShadowRoot(shadowRoot: ShadowRoot): () => void;
    /**
     * Stops applying the injected styles inside the given shadow root.
     */
    removeShadowRoot(shadowRoot: ShadowRoot): void;
    /**
     * Removes an injected style from the document and from the shadow roots that adopted it.
     */
    remove(name: string): void;
    use(css: any, options?: any): {
        id: any;
        name: any;
        el: HTMLStyleElement;
        css: any;
    } | undefined;
    private adoptStyleSheet;
    private isAdoptionSupported;
    static ɵfac: i0.ɵɵFactoryDeclaration<UseStyle, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UseStyle>;
}

export { UseStyle };
