import { Deferred, Event, URI, WithEventBus } from '@opensumi/ide-core-browser'; import { StaticResourceService } from '@opensumi/ide-core-browser/lib/static-resource'; import { IIconService, IIconTheme, IThemeContribution, IconShape, IconThemeInfo, IconThemeType, IconType } from '../common'; import { IconThemeStore } from './icon-theme-store'; import './icon.less'; export declare class IconService extends WithEventBus implements IIconService { staticResourceService: StaticResourceService; iconThemeStore: IconThemeStore; private preferenceService; private preferenceSchemaProvider; private preferenceSettings; private readonly logger; iconThemeLoaded: Deferred; private themeChangeEmitter; onThemeChange: Event; private iconThemes; private iconContributionRegistry; currentThemeId: string; currentTheme: IIconTheme; private latestApplyTheme; private iconMap; private _regexFromString; private getPath; constructor(); private listen; private styleSheetCollection; private appendStylesTimer; private appendStyleCounter; private doAppend; protected appendStyleSheet(styleSheet: string, fromExtension?: boolean): void; private appendExtensionIconStyle; protected getRandomIconClass(prefix?: string): string; protected getMaskStyleSheet(iconUrl: string, className: string, baseTheme?: string): string; protected getMaskStyleSheetWithStaticService(path: URI, className: string, baseTheme?: string): string; protected getBackgroundStyleSheet(iconUrl: string, className: string, baseTheme?: string): string; protected getBackgroundStyleSheetWithStaticService(path: URI, className: string, baseTheme?: string): string; fromString(str: string): string | undefined; encodeBase64Path(iconPath: string): string; fromIcon(basePath?: string, icon?: { [index in IconThemeType]: string; } | string, type?: IconType, shape?: IconShape, fromExtension?: boolean): string | undefined; onDidExtensionContributes(): Promise; get preferenceThemeId(): string | undefined; private updateIconThemes; registerIconThemes(iconContributions: IThemeContribution[], basePath: URI): void; getAvailableThemeInfos(): IconThemeInfo[]; getIconTheme(themeId: string): Promise; applyTheme(themeId: string): Promise; toggleIconVisible(show?: boolean): void; } //# sourceMappingURL=icon.service.d.ts.map