UNPKG

916 BTypeScriptView Raw
1import { AsyncLocalizationProvider, LanguageInfo } from '../../common/i18n/localization';
2import { QuickInputService, QuickPickItem } from '../quick-input';
3import { WindowService } from '../window/window-service';
4export interface LanguageQuickPickItem extends QuickPickItem, LanguageInfo {
5 execute?(): Promise<void>;
6}
7export declare class LanguageQuickPickService {
8 protected readonly quickInputService: QuickInputService;
9 protected readonly localizationProvider: AsyncLocalizationProvider;
10 protected readonly windowService: WindowService;
11 pickDisplayLanguage(): Promise<LanguageInfo | undefined>;
12 protected getInstalledLanguages(): Promise<LanguageQuickPickItem[]>;
13 protected getAvailableLanguages(): Promise<LanguageQuickPickItem[]>;
14 protected createLanguageQuickPickItem(language: LanguageInfo): LanguageQuickPickItem;
15}
16//# sourceMappingURL=language-quick-pick-service.d.ts.map
\No newline at end of file