UNPKG

1.17 kBTypeScriptView Raw
1import { FrontendApplicationContribution } from './frontend-application';
2import { ContributionProvider } from '../common/contribution-provider';
3import { IconThemeService, IconTheme } from './icon-theme-service';
4import { MaybePromise } from '../common/types';
5import { Disposable } from '../common/disposable';
6export declare const IconThemeContribution: unique symbol;
7export interface IconThemeContribution {
8 registerIconThemes(iconThemes: IconThemeService): MaybePromise<void>;
9}
10export declare class IconThemeApplicationContribution implements FrontendApplicationContribution {
11 protected readonly iconThemes: IconThemeService;
12 protected readonly iconThemeContributions: ContributionProvider<IconThemeContribution>;
13 onStart(): Promise<void>;
14}
15export declare class DefaultFileIconThemeContribution implements IconTheme, IconThemeContribution {
16 readonly id = "theia-file-icons";
17 readonly label = "File Icons (Theia)";
18 readonly hasFileIcons = true;
19 readonly hasFolderIcons = true;
20 registerIconThemes(iconThemes: IconThemeService): MaybePromise<void>;
21 activate(): Disposable;
22}
23//# sourceMappingURL=icon-theme-contribution.d.ts.map
\No newline at end of file