import { LocalizationManager } from './localization-manager'; /** * Class for asset manager */ export declare class AssetManager { private localizationManager; private _cssV2?; private _reactExtension?; /** * Getter for cssV2. */ get cssV2(): boolean; /** * Getter for if the target is React. */ get reactExtension(): boolean; private readonly fontsKeyword; constructor(localizationManager: LocalizationManager, _cssV2?: boolean, _reactExtension?: boolean); setTheme(theme: string): void; /** * Injects dynamic assets (css, js, etc..) from the shell * This is only meant to be called once during an extensions lifecycle (during init) * @param theme the current theme name * @param assets the assets to process */ loadAssets(theme: string, assets: MsftSme.MsftSmeAssets): void; protected appendAssets(cssAssets: string[]): void; /** * Only push the fonts and let the extension use cssV2. * @param cssAssets the input cssV1 assets. * @returns the cssAssetsV2 including fonts.css only. */ private updateCssV2Assets; }